ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Basics
  3. What Is a Function in Excel? Arguments Explained

What Is a Function in Excel? Arguments Explained

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

A function in Excel is a built-in calculation with a name, such as SUM, AVERAGE or IF. You give it inputs called arguments inside brackets, separated by commas, and it returns a result. For example, =SUM(B2:B6) adds the five cells in B2 to B6. Functions are used inside formulas, which always start with an equals sign.

Key takeaways

  • A function is a named, ready-made calculation: SUM adds, AVERAGE finds the mean, IF makes a decision.
  • Every function has the same shape: =NAME(argument1, argument2, ...).
  • Arguments are the inputs. Some are required; ones shown in [square brackets] in the tooltip are optional.
  • A formula is anything that starts with =. A function is one tool you can use inside it.
  • You can put one function inside another, such as =ROUND(AVERAGE(B2:B6),0).
On this page+
  1. What is a function in Excel?
  2. Function vs formula: what's the difference?
  3. The parts of a function: name, brackets and arguments
  4. What kinds of arguments can a function take?
  5. How to enter a function in Excel
  6. How to put one function inside another
  7. Common mistakes when using functions
  8. Practise it

What is a function in Excel? It's a built-in calculation with a name, such as SUM, AVERAGE or IF, that takes inputs and returns a result. Instead of typing =B2+B3+B4+B5+B6, you write =SUM(B2:B6) and Excel does the work. This guide explains the parts of a function, what arguments are, and how to enter and combine functions, using one small table you can type in yourself.

What is a function in Excel?#

A function is a ready-made calculation that Excel already knows how to do. Each one has a name that says what it does: SUM adds, AVERAGE finds the mean, MAX finds the biggest value, and IF chooses between two results.

All examples in this guide use these test scores in A1:B6:

AB
1StudentScore
2Amara72
3Ben85
4Chloe90
5Dmitri64
6Esi78
FunctionWhat it doesFormulaResult
SUMAdds numbers=SUM(B2:B6)389
AVERAGEFinds the mean=AVERAGE(B2:B6)77.8
MAXFinds the largest=MAX(B2:B6)90
MINFinds the smallest=MIN(B2:B6)64
COUNTCounts cells with numbers=COUNT(B2:B6)5

Excel has several hundred functions in categories like Math, Text, Date and Time, Lookup and Logical. You don't need most of them. A handful covers everyday work and most job tests.

Function vs formula: what's the difference?#

A formula is any calculation in a cell that starts with an equals sign. A function is one named tool you can use inside a formula.

  • =B2-B3 is a formula with no function. It uses the minus operator. See how to subtract in Excel.
  • =SUM(B2:B6) is a formula that uses one function.
  • =SUM(B2:B6)/5 is a formula that mixes a function and an operator.

Functions save time and avoid mistakes. Adding 500 cells with + is slow and easy to get wrong, but =SUM(B2:B501) is one short formula. If you've never typed a formula before, start with how to write your first Excel formula.

The parts of a function: name, brackets and arguments#

Every function follows the same pattern, called its syntax:

Excel formula
=FUNCTION_NAME(argument1, argument2, ...)
PartExampleWhat it means
Equals sign=Tells Excel this is a calculation, not text
NameIFWhich function to run
Opening bracket(The inputs start here
ArgumentsB2>=70, "Pass", "Fail"The inputs, separated by commas
Closing bracket)The inputs end here

Arguments are the inputs a function needs. SUM needs at least one: the numbers or range to add. IF needs a test, a result for TRUE and a result for FALSE:

Excel formula
=IF(B2>=70,"Pass","Fail")

For Amara's 72, this returns Pass. For Dmitri's 64, it returns Fail. The IF function guide covers each argument in detail.

Some arguments are optional. When you type a function, Excel shows a tooltip, and optional arguments appear in square brackets, such as SUM(number1, [number2], ...). You can leave those out.

In some countries, Excel uses a semicolon between arguments instead of a comma: =IF(B2>=70;"Pass";"Fail"). This depends on your regional settings. The function works the same way.

What kinds of arguments can a function take?#

An argument can be almost any value Excel understands. The most common types are:

  • A number: =ROUND(77.8,0) returns 78.
  • A cell or range: =SUM(B2:B6). A range is a block of cells, written as first cell, colon, last cell.
  • Text in double quotes: "Pass". Without quotes, Excel thinks Pass is a name and shows #NAME?.
  • A logical test: B2>=70, which is either TRUE or FALSE.
  • Another function: =ROUND(AVERAGE(B2:B6),0). This is called nesting.

How to enter a function in Excel#

You can type a function, pick it from a list, or let Excel write it.

  1. Type it. Click a cell, type =SU, and Excel shows a list of matching names. Press Tab to pick SUM, then type the arguments and the closing bracket.
  2. Use AutoSum. Click the cell below a column of numbers and press Alt+= on Windows or ⌘+Shift+T on a Mac. Excel writes =SUM(...) and guesses the range. Press Enter if the range is right. The SUM function guide shows more ways to add.
  3. Use Insert Function. Click the fx button next to the formula bar, or press Shift+F3. A window lets you search for a function and fills in each argument in its own box.

While you type, the tooltip under the cell shows the argument you're on in bold. It's the fastest way to remember the order.

How to put one function inside another#

You can use a function as an argument of another function. This is called nesting. Excel works from the inside out.

Excel formula
=ROUND(AVERAGE(B2:B6),0)

First AVERAGE returns 77.8. Then ROUND takes 77.8 as its first argument and rounds it to 0 decimal places, giving 78. Each function needs its own pair of brackets, so count them: two opening, two closing.

Here is a nested IF that adds a third result:

Excel formula
=IF(B2>=85,"Merit",IF(B2>=70,"Pass","Fail"))

Ben's 85 returns Merit, Amara's 72 returns Pass and Dmitri's 64 returns Fail. Functions like these are the base of real work such as an Excel timesheet and of most questions in a basic Excel test for employment.

Common mistakes when using functions#

Most function errors come from typing, not from the function itself:

  1. No equals sign. SUM(B2:B6) without = is just text.
  2. A misspelled name. =SUMM(B2:B6) returns #NAME?.
  3. Text without quotes. =IF(B2>=70,Pass,Fail) returns #NAME?.
  4. Missing brackets. Excel may offer a fix, but check it matches what you meant.
  5. Arguments in the wrong order. In IF, the test comes first. Use the tooltip to check.

Practise it#

Functions make sense once you've typed a few yourself. Practise your first formulas in a live spreadsheet: you start with =, build simple calculations and see them recalculate. Then move on to the SUM and AutoSum lesson, where every answer is checked instantly. For more short tasks, try these Excel exercises for beginners, or start with the nested ROUND and AVERAGE exercise on this page.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

In B7, find the average score rounded to a whole number. Nest AVERAGE inside ROUND: =ROUND(AVERAGE(B2:B6),0).

fx
ABCD
1
Student
Score
2
Amara
72
3
Ben
85
4
Chloe
90
5
Dmitri
64
6
Esi
78
7
Average
8
9
10

Tip: AVERAGE(B2:B6) is the first argument of ROUND. The second argument, 0, means no decimal places.

Practise this in a lesson

LessonFreeYour first formulasType values, write formulas that start with =, and see how they recalculate.LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.Function guideIFLearn Excel's IF function with practical examples: flag budgets, label rows and return blanks. Avoid the classic mistakes and practice live.

Frequently asked questions

What is the difference between a formula and a function in Excel?

+

A formula is any calculation that starts with an equals sign, such as =B2-C2. A function is a named, built-in calculation such as SUM that you use inside a formula. =SUM(B2:B6) is a formula that uses one function.

What are arguments in an Excel function?

+

Arguments are the inputs a function needs to do its job. In =IF(B2>=70,"Pass","Fail"), the three arguments are the test, the result if true and the result if false.

How many functions does Excel have?

+

Excel has several hundred functions, grouped into categories such as Math, Statistical, Text, Date and Time, Lookup and Logical. Most everyday work uses only a few dozen of them.

Why does Excel use semicolons instead of commas in functions?

+

In some regional settings, the comma is the decimal separator, so Excel uses semicolons between arguments instead: =IF(B2>=70;"Pass";"Fail"). The function works the same way.

What are the most common Excel functions for beginners?

+

Start with SUM, AVERAGE, MIN, MAX, COUNT, ROUND and IF. Then learn COUNTIF, SUMIF and a lookup function such as VLOOKUP or XLOOKUP.

Sources

  • Overview of formulas in Excel - Microsoft Support
  • SUM function - Microsoft Support
  • IF function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is a function in Excel?
  2. Function vs formula: what's the difference?
  3. The parts of a function: name, brackets and arguments
  4. What kinds of arguments can a function take?
  5. How to enter a function in Excel
  6. How to put one function inside another
  7. Common mistakes when using functions
  8. Practise it

Keep reading

Basics· 6 min read

How to Subtract in Excel: Cells, Columns and Dates

To subtract in Excel, use the minus sign: type =B2-C2 and press Enter. There is no SUBTRACT function. To take several numbers away from one value, subtract their SUM, like =B1-SUM(B3:B7). Dates subtract the same way, and the result is the number of days between them, such as =C2-B2.

Basics· 5 min read

How to Write Your First Excel Formula

To write a formula in Excel, click the cell where you want the answer, type an equals sign (=), then build the calculation from cell references and math signs, such as =C2*D2. Press Enter to see the result. Use + to add, - to subtract, * to multiply and / to divide. For totals, use =SUM(B2:B5).

Tests & careers· 5 min read

Basic Excel Test for Employment: What's on It

A basic Excel test for employment checks everyday skills: entering data, writing formulas that start with =, adding and averaging with SUM and AVERAGE, simple maths like totals and percentages, locking a cell with $, filling formulas down, sorting and filtering, and formatting numbers as currency or percent. Most basic tests take 15 to 30 minutes.

More on basics

  • What Is a Range in Excel? A1:B5 Explained
  • How to Wrap Text in Excel (and Fix Tall Rows)
  • Fill Down and Fill Right in Excel (Ctrl+D, Ctrl+R)
  • Format Numbers as Currency, Percent and Dates in Excel
  • Move Around Excel With the Keyboard: The Complete Guide
  • How to Select Ranges Fast in Excel (Keyboard Tricks)
All basics articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free