Excel functions are the core tools that turn raw data into insights—whether you’re calculating totals, finding values across sheets, or applying conditional logic. This guide covers the 10 most important functions you’ll use daily, with step-by-step instructions you can apply immediately. No prior expertise is needed—just Excel installed (any modern version: Office 365, Excel 2016–2021, or Excel for the web).
What You’ll Need
- Microsoft Excel (desktop version or Excel for the web)
- A workbook with sample data (you can use the built-in “Sample Data” template or create your own)
- Basic familiarity with entering data into cells (e.g., typing numbers in column A, labels in row 1)
Step-by-Step
- Open Excel and set up your worksheet. Create a simple table: in cells A1:C6, enter headers in row 1 (e.g., “Product”, “Sales”, “Region”), then fill A2:A6 with product names (e.g., “Laptop”, “Phone”, “Tablet”, “Headphones”, “Charger”), B2:B6 with numeric sales figures (e.g., 1200, 850, 450, 200, 50), and C2:C6 with regions (e.g., “North”, “South”, “North”, “East”, “West”). Keep this table ready—you’ll use it for all examples below.
- Use SUM to add numbers. Click cell B7 (below your sales data), type
=SUM(B2:B6), and press Enter. You’ll see the total (3750). This is the most frequently used function—SUM adds all numbers in a range. You can also click the AutoSum button (Σ) on the toolbar, then select B2:B6 and press Enter. - Calculate averages with AVERAGE. In cell B8, type
=AVERAGE(B2:B6)and press Enter. This returns 750—the mean sales value. AVERAGE ignores empty cells and text, making it safe for mixed data. - Apply conditional logic with IF. In cell D2 (next to your first product), enter
=IF(B2>=1000,"High","Low")and press Enter. Copy this formula down to D6. Now each product shows “High” if sales ≥ 1000, otherwise “Low”. IF evaluates a condition (B2≥1000) and returns one value if true, another if false. - Look up values with XLOOKUP (modern, recommended over VLOOKUP). First, create a lookup table elsewhere: in E1:F3, enter headers “Region” (E1) and “Tax Rate” (F1), then rows for “North” (0.08), “South” (0.07), and “East” (0.06). In cell D7, type
=XLOOKUP(C2,E2:E4,F2:F4,0)and copy down to D9. This finds the tax rate for each region—if C2 is “North”, it returns 0.08. If no match is found, it returns 0 (the fourth argument). - Combine text with CONCAT or &. In cell E2, type
=A2 & " - " & D2and press Enter. This joins the product name and category (e.g., “Laptop - High”). CONCAT(A2," - ",D2) does the same. Use this to build dynamic labels or identifiers. - Count entries with COUNT and COUNTA. In cell B10, type
=COUNT(B2:B6)to count only numeric cells (returns 5). In B11, type=COUNTA(A2:A6)to count all non-empty cells (also 5). COUNT ignores text and blanks; COUNTA counts text, numbers, and errors. - Find maximum and minimum values. In cell B12, type
=MAX(B2:B6)(returns 1200), and in B13, type=MIN(B2:B6)(returns 50). These help spot extremes quickly—useful for identifying top performers or outliers. - Use COUNTIFS for multi-condition counting. In cell B14, type
=COUNTIFS(B2:B6,">500",C2:C6,"North")and press Enter. This counts how many sales exceed 500 AND are in the North region (returns 1). Add more condition pairs as needed (e.g., add ,D2:D6,"High") for complex filters. - Sum with conditions using SUMIFS. In cell B15, type
=SUMIFS(B2:B6,C2:C6,"North")and press Enter. This sums only North-region sales (1200 + 450 = 1650). SUMIFS is ideal for dynamic dashboards—swap criteria ranges to filter by date, category, or custom logic.
Common Mistakes
- Forgetting equals sign (=): Typing
SUM(B2:B6)instead of=SUM(B2:B6)makes Excel treat it as text—no calculation occurs. Always start formulas with =. - Incorrect range references: Using
=SUM(B2:B5)when your data ends at B6 misses the last row. Double-check start/end cells—use the mouse to drag-select ranges instead of typing to avoid typos. - Mixed absolute and relative references: In XLOOKUP, if you copy
=XLOOKUP(C2,E2:E4,F2:F4,0)down without locking the lookup table, the ranges shift (e.g., E3:E5), causing #N/A errors. Fix this by using $ (e.g.,=XLOOKUP(C2,$E$2:$E$4,$F$2:$F$4,0)). - Text vs. numbers in lookups: XLOOKUP fails if the lookup value is text (e.g., “North”) but the table contains numbers (e.g., 1 for North). Ensure data types match—convert text to numbers with =VALUE() or reformat cells.
- Overlooking empty cells in COUNTA: COUNTA treats cells with spaces as non-empty, inflating counts. Use =COUNTBLANK() to check for hidden blanks, or clean data first with =TRIM().
Tips
- Use F4 to toggle references: After typing a cell reference (e.g., E2), press F4 to cycle between relative (E2), absolute ($E$2), and mixed ($E2, E$2) formats—critical for copying formulas correctly.
- Break complex formulas into helper columns: Instead of one long IF/AND statement, add a column for intermediate results (e.g., a “Discount Eligible?” column), then use it in your final calculation. This reduces errors and eases debugging.
- Press Ctrl+Shift+End to select data ranges: Place your cursor in the top-left cell of your table, then use this shortcut to jump to the last used cell—faster than dragging for large sheets.
- Use named ranges for clarity: Select B2:B6, go to the Name Box (left of the formula bar), type “SalesData”, and press Enter. Now write
=SUM(SalesData)—more readable and easier to maintain. - Enable automatic recalculation: If formulas don’t update after changing data, check Formulas > Calculation Options > Automatic. Manual mode requires pressing F9 to refresh.
Troubleshooting
If your formula returns an error (e.g., #NAME?, #VALUE!, #N/A), follow these steps:
- Check for typos in function names: Excel is case-insensitive, but misspellings like “SUMM” or “AVerage” trigger #NAME?. Retype the function or use the formula autocomplete (start typing =su and select SUM).
- Verify cell references: Click the formula bar and press F9 on part of the formula (e.g., B2:B6) to see its result. If it shows an error, the issue is upstream (e.g., a non-numeric value in the range).
- Fix #N/A in XLOOKUP: This means no match was found. Check if your lookup value exists exactly in the table (no extra spaces, different case, or hidden characters). Use =TRIM() and =UPPER() to standardize text before lookup.
- Resolve #VALUE! errors: Often caused by text in numeric functions (e.g., =SUM(A1:A5) where A3 contains “N/A”). Use =IFERROR(SUM(A1:A5),0) to suppress errors or =FILTERXML for advanced cleaning.
- Reset formula bar visibility: If formulas show as text (e.g., “=SUM(B2:B6)” instead of 3750), go to File > Options > Advanced, uncheck “Show formulas in cells instead of their calculated values”, and click OK.
Frequently Asked Questions
What’s the difference between VLOOKUP and XLOOKUP?
VLOOKUP only searches left-to-right and requires column indices (e.g., 2 for the second column), making it fragile if columns are added. XLOOKUP searches both directions, uses exact values (not indices), and handles missing values with a default—making it safer and more flexible.
Can I use these functions in Excel Online or mobile?
Yes—all functions listed here work in Excel for the web and mobile apps (iOS/Android). However, some advanced features (e.g., dynamic arrays like FILTER) may have limited support on older mobile versions. Basic functions like SUM, IF, and XLOOKUP are fully compatible.
How do I apply a function to an entire column at once?
Enter the formula in the first cell (e.g., D2), then double-click the small square at the bottom-right of the cell selection (the fill handle). Excel auto-fills the formula down the column, adjusting references relative to each row.
Why does SUM ignore cells I expect to include?
SUM skips text, logical values (TRUE/FALSE), and error cells. If your range has mixed data, use =SUMIF(A1:A10,"<>*text*",A1:A10) to exclude text, or convert cells to numbers first with the Error Checking button (green triangle in corner).
Is there a limit to how many conditions I can use in IF?
Excel allows up to 64 nested IFs, but it’s not practical. Replace nested IFs with IFS (e.g., =IFS(B2>1000,"High",B2>500,"Medium",TRUE,"Low")) or use SWITCH for cleaner logic. For many conditions, consider INDEX/MATCH or XLOOKUP with helper columns.
How do I find all instances of a function in my workbook?
Press Ctrl+F, type the function name (e.g., SUM), and click “Find All”. This lists every usage across sheets—great for auditing or updating formulas globally. For replacements, use Ctrl+H (Find and Replace) with “Match entire cell contents” unchecked.