Excel functions are formulas that perform calculations using specific values in a cell or range. Mastering key functions saves time, reduces errors, and unlocks powerful data analysis without macros or add-ins. This guide covers ten essential functions used daily across business, education, and personal finance—no prior expertise required.
What You'll Need
- Microsoft Excel (desktop version: Windows, Mac, or Excel for Microsoft 365)
- A basic dataset (e.g., a list of names, dates, numbers, or sales figures)
- Keyboard shortcuts enabled (optional but recommended for speed)
Step-by-Step
- Open Excel and prepare your sheet
Launch Excel and create a new blank workbook. Enter sample data: in column A, type names (e.g., A2:A10); in column B, enter dates (e.g., B2:B10 as 1/1/2024, 1/5/2024, etc.); in column C, input numeric values (e.g., 150, 200, 75). Keep headers in row 1 (A1 = Name, B1 = Date, C1 = Amount). - Use SUM to add numbers
Select cell C11. Type=SUM(C2:C10)and press Enter. This adds all values from C2 through C10. Excel highlights the range with a colored border while you type. You can also click the AutoSum button (Σ) on the Home or Formulas tab, then drag to select the range. - Calculate averages with AVERAGE
In cell C12, type=AVERAGE(C2:C10). This returns the mean of the numeric values. Note: AVERAGE ignores empty cells and text but includes zeros—so a blank cell won’t pull the average down. - Find the highest or lowest value
In C13, type=MAX(C2:C10)to show the largest number. In C14, type=MIN(C2:C10)for the smallest. These are ideal for spotting outliers (e.g., top sales or lowest inventory). - Count entries with COUNT, COUNTA, and COUNTIF
Type=COUNT(C2:C10)to count only numeric cells. For total non-empty cells (text, numbers, dates), use=COUNTA(A2:C10). To count specific text—like how many rows have "John" in column A—use=COUNTIF(A2:A10,"John"). - Look up data with XLOOKUP
Assume you want to find the amount for "Alice" (in A5). In cell E2, type=XLOOKUP("Alice",A2:A10,C2:C10). This returns Alice’s value from column C. XLOOKUP searches column A for "Alice", then returns the corresponding value from column C. It works left-to-right or right-to-left (unlike older VLOOKUP). - Combine text with CONCAT or &
In D2, type=CONCAT(A2," - ",C2)to merge a name and amount (e.g., "John - 150"). Alternatively, use=A2 & " - " & C2. Both join text without spaces unless you add them manually. - Extract date parts with YEAR, MONTH, DAY
In D2, type=YEAR(B2)to pull the year (e.g., 2024). In E2, type=MONTH(B2)for the month number (1–12). These let you group data by period—like monthly totals—using PivotTables or filters later. - Handle errors with IFERROR
If XLOOKUP returns #N/A when a name isn’t found, wrap it:=IFERROR(XLOOKUP("Alice",A2:A10,C2:C10),"Not found"). This displays "Not found" instead of an error, keeping reports clean. - Calculate conditional sums with SUMIFS
To total amounts in column C where the date is on or after Jan 1, 2024, type:=SUMIFS(C2:C10,B2:B10,">="&DATE(2024,1,1)). Replace the DATE function with a cell reference (e.g., F1 containing 1/1/2024) for flexibility. Use AND-style logic: add more criteria pairs like,A2:A10,"John"to sum only John’s post-Jan-1 entries.
Common Mistakes
- forgetting the equals sign (=)
TypingSUM(C2:C10)without=shows the text literally instead of calculating. - Mismatched ranges
In XLOOKUP, if lookup_array (A2:A10) and return_array (C2:C10) aren’t same size, Excel returns #N/A. Ensure they match. - Text-formatted numbers
If SUM returns 0, verify numbers aren’t stored as text (green triangle in top-left). Fix by using Data > Text to Columns or =VALUE(A1) on each cell. - Hard-coding dates
Use DATE(year,month,day) instead of "1/1/2024" in formulas. Text dates like">=1/1/2024"cause errors in some locales. - Ignoring blank cells in COUNT
COUNT only counts numbers; COUNTA counts any content. If you expect 10 rows but COUNT shows 8, check for hidden spaces or errors.
Tips
- Use F4 to lock references
After typing a cell like C2 in a formula, press F4 to toggle between C2, $C$2, C$2, and $C2. Locking ($C$2) makes ranges absolute when copying formulas down rows. - Named ranges simplify formulas
Select C2:C10, type "Amounts" in the Name Box (left of formula bar), then use=SUM(Amounts). Easier to read and maintain. - Ctrl+Shift+End selects data blocks
Place cursor in top-left data cell, press Ctrl+Shift+End to highlight all contiguous data—great for selecting ranges before applying functions. - Format results for clarity
After SUM, right-click the result > Format Cells > Number > Currency. This adds $ and decimals automatically. - Use the Function Library
On the Formulas tab, click Insert Function to search by category (e.g., "date") or keyword. Excel explains syntax and gives examples.
Troubleshooting
When a function returns an error, follow these checks:
- Restart Excel
Save your work, close Excel completely, and reopen. Temporary glitches often resolve. - Check for #NAME?
This means Excel doesn’t recognize a function name. Verify spelling (e.g., "SUMIF" not "SUMIFS") and that you’re using a supported version (XLOOKUP requires Excel 365 or 2021+). - Verify cell references
If results change unexpectedly, check if rows/columns were inserted or deleted. Press Ctrl+` (grave accent) to toggle formula view and see all references. - Fix #VALUE! errors
This usually means incompatible data types (e.g., text in a SUM range). Use =ISNUMBER() to test cells or filter for errors. - Clear hidden characters
Copy a suspect cell, paste into Notepad, then copy back. This strips invisible spaces or non-printing characters that break comparisons.