Excel Functions Guide: How to Use Every Major Function
In this article
Excel does not have a single "all functions" button or feature—it has over 500 built-in functions grouped into categories like Math, Logical, Text, Date & Time, Lookup & Reference, Financial, and more. This guide helps you locate, understand, and apply the most essential functions efficiently. You won’t master all 500+ in one read, but you’ll learn how to find, insert, and use them correctly, with practical examples and common pitfalls to avoid.
What You'll Need
- Microsoft Excel installed (Windows, Mac, or Excel for the web)
- A basic understanding of cell references (e.g., A1, B2:C10)
- Excel’s Formula Bar visible (View > Formula Bar if hidden)
- Optionally: sample data to practice with (e.g., a simple sales table)
Step-by-Step
- Open Excel and create or open a workbook. Ensure your data is organized in rows and columns, with headers in the top row.
- Click the cell where you want the result to appear. This is where the function output will display.
- Type an equals sign (=) to start a formula. Excel always requires this first character before any function.
- Begin typing the function name (e.g., SUM, VLOOKUP, IF). As you type, Excel shows a dropdown list of matching functions. You can scroll or keep typing to narrow it down.
- When your desired function appears (e.g., AVERAGE), press Tab or double-click it to insert it. Excel will automatically add an opening parenthesis and highlight the first argument in blue.
- Enter the required arguments. For example, for =AVERAGE(A1:A10), select the range A1:A10 with your mouse, or type it manually. Separate multiple arguments with commas (or semicolons on some regional Excel versions).
- Close the function with a closing parenthesis ) and press Enter. The result appears in the cell. Hover over the cell to see the full formula in the Formula Bar.
- To edit: click the cell to see the formula in the Formula Bar, then modify directly—no need to retype the entire function.
- Use AutoFill (drag the small square at the cell’s bottom-right corner) to copy the function to adjacent cells. Excel automatically adjusts relative references (e.g., =A1 becomes =A2 when copied down).
- For absolute references (e.g., to lock a cell like $B$1), add dollar signs before the column and row letters/numbers. Press F4 while the cursor is on a reference to toggle between reference types (A1 → $A$1 → A$1 → $A1 → A1).
Common Mistakes
- Missing equals sign: Typing "SUM(A1:A10)" without "=" turns it into plain text—Excel won’t calculate.
- Mismatched parentheses: =SUM(A1:A10 (missing closing parenthesis) causes a #NAME? or #VALUE! error. Always ensure parentheses are balanced.
- Incorrect argument order: Functions like VLOOKUP require specific argument order (lookup_value, table_array, col_index_num, [range_lookup]). Swapping them causes wrong results.
- Using text instead of numbers: =SUM(A1:A5) returns 0 if A1:A5 contains numbers stored as text (green triangle in corner). Convert with VALUE() or Text to Columns.
- Forgetting optional arguments: =VLOOKUP(A1,B1:C10,2) assumes range_lookup=TRUE (approximate match), which fails on unsorted data. Use FALSE for exact match: =VLOOKUP(A1,B1:C10,2,FALSE).
Tips
- Use the Function Library tab (Formulas > Function Library) to browse functions by category. Each function’s dialog box shows syntax, argument descriptions, and an example.
- Press Ctrl + Shift + A (Windows) or ⌘ + Shift + A (Mac) after typing a function name to insert commas and show argument placeholders—great for multi-argument functions like INDEX or CHOOSE.
- Break complex formulas into helper columns first. For example, calculate intermediate values in separate columns before combining them into one final formula.
- Use named ranges (Formulas > Define Name) to make formulas readable: =SUM(SalesData) instead of =SUM(B2:B100).
- Press F9 while highlighting part of a formula in the Formula Bar to evaluate just that portion—helps debug nested functions.
- Enable Excel’s Error Checking: File > Options > Formulas > Enable background error checking. It highlights cells with potential issues (like formulas that omit adjacent cells).
Troubleshooting
If your function returns an error, check the following in order:
- #VALUE!: One or more arguments are the wrong data type (e.g., text where a number is expected). Use ISNUMBER() or ISTEXT() to diagnose.
- #N/A: Common in lookup functions (VLOOKUP, XLOOKUP, INDEX/MATCH). Means no match was found. Wrap in IFERROR() to return a custom message: =IFERROR(VLOOKUP(...), "Not found").
- #REF!: A cell reference is invalid—often from deleting rows/columns used in the formula. Recreate the formula or restore the deleted cells.
- #DIV/0!: Division by zero. Use IF(A2<>0, A1/A2, "") to prevent it.
- Name mismatch: Typing "Sum" instead of "SUM" (Excel is case-insensitive, but typos like "AVG" instead of "AVERAGE" cause #NAME?). Double-check spelling and use the dropdown list.
- Regional settings: In some countries, Excel uses semicolons (;) instead of commas (,) to separate arguments. Test by typing =SUM(1,2) and =SUM(1;2) to see which works.
If the formula still fails, copy and paste it into a new cell to rule out cell corruption. Restart Excel if errors persist—rare, but sometimes resolves add-in conflicts.
Frequently Asked Questions
How do I find a function when I know what it does but not its name?
Go to Formulas > Insert Function (or press Shift + F3). In the dialog, type a description (e.g., "find text in a string") and Excel suggests matching functions like SEARCH or FIND.
Can I use multiple functions inside one formula?
Yes—nesting is common. For example: =IF(SUM(A1:A10)>100, "High", "Low") combines SUM and IF. Limit nesting depth: Excel allows up to 64 levels, but beyond 3–4 levels, use helper columns instead for clarity.
What’s the difference between VLOOKUP and XLOOKUP?
VLOOKUP only searches left-to-right and requires column index numbers. XLOOKUP (Excel 365/2021+) searches in any direction, uses exact match by default, and supports reverse lookups. Replace VLOOKUP with XLOOKUP where available: =XLOOKUP(A1,B1:B10,C1:C10,"Not found").
How do I apply a function to an entire column without dragging?
Select the first cell with the formula, press Ctrl + Shift + Down Arrow (Windows) or ⌘ + Shift + Down Arrow (Mac) to select the entire data column, then press Ctrl + D (Windows) or ⌘ + D (Mac) to fill down. Or convert your data to a table (Ctrl + T), enter the formula in the first data row, and it auto-fills for all rows.
Why does my formula show as text instead of calculating?
Check if the cell is formatted as Text. Right-click the cell > Format Cells > General, then re-enter the formula. Also, if you type a leading apostrophe (e.g., '=SUM(A1:A10)), Excel treats it as text—remove the apostrophe.
How can I see which cells a formula references?
Use Trace Precedents: select the cell, then Formulas > Trace Precedents. Blue arrows show all cells feeding into the formula. Press Esc to clear arrows. For dependents (cells affected by this cell), use Trace Dependents.