Excel’s HB20 (Home & Business 2021) includes all core formulas you need for everyday tasks, like summing numbers, calculating averages, or checking conditions. These formulas work out of the box—no add-ins or macros required. Jump to the quick setup if you’re ready to type your first formula.

What You’ll Need

  • Excel HB20 installed on Windows or macOS (version 2108 or later)
  • A spreadsheet with data to test formulas (even a simple table works)
  • Basic keyboard navigation (arrow keys, Enter, Tab)

Step-by-Step: 10 Essential Excel Formulas

Start with these formulas to handle 80% of real-world tasks. All examples use the Home tab (Ribbon) or keyboard shortcuts.

  1. SUM: Add Values

    Adds numbers in a range or single cells. Example: Calculate total sales.

    1. Type =SUM( or click the Σ button in the Home > Editing group.
    2. Drag-select numbers (e.g., A1:A10 or B2,B4)
    3. Close parentheses and press Enter. Result: =SUM(A1:A10).

    Tip: Use =SUM(A1:A1000) to auto-fill ranges. For negative numbers, SUM ignores them but use =SUMIF(A:A, "<0") to count negatives.

  2. AVERAGE: Find the Mean

    Calculates the average of selected cells. Example: GPA calculation.

    1. Type =AVERAGE( or go to Home > Editing > AVERAGE.
    2. Select cells (e.g., C2:C15 or D1,D3,D5).
    3. Press Enter. Result: =AVERAGE(C2:C15).

    Warning: AVERAGE ignores text/cells with errors. For conditional averages (e.g., only scores ≥70), use =AVERAGEIF(C2:C15,">=70").

  3. IF: Conditional Logic

    Tests a condition and returns a value. Example: "Pass/Fail" grades.

    1. Type =IF( in any cell.
    2. Enter the test (e.g., =IF(B2>=60 for scores ≥60).
    3. Add true value (e.g., "Pass"), comma.
    4. Add false value (e.g., "Fail"), then close parentheses: =IF(B2>=60,"Pass","Fail").
    5. Press Enter. Formula changes to "Pass" or "Fail" based on B2.

    Common Use: Combine with AND/OR for complex checks (e.g., =IF(AND(A2>50,B2<10), "Error", "OK")).

  4. VLOOKUP: Find Data Vertically

    Searches a column for a value and returns data from the same row. Example: Pull a product price by SKU.

    1. Open your table (e.g., column A has SKUs, column C has prices).
    2. In a new cell, type =VLOOKUP(.
    3. Specify the value to find (e.g., "SKU123"), comma.
    4. Enter the lookup column number (column A = 1, B = 2, etc.), comma.
    5. Choose the column to return (e.g., 3 for prices), comma.
    6. Set FALSE for exact matches: =VLOOKUP("SKU123",A2:C100,3,FALSE).
    7. Press Enter. Returns the price from the matching row.

    Fix for Errors:

    • #N/A = No match found. Check spelling or expand the lookup range.
    • #REF! = Column reference is wrong. Verify your column numbers.

  5. COUNT: Count Cells with Numbers

    Counts how many cells in a range contain numbers. Example: Track how many orders were placed.

    1. Type =COUNT( or use Home > Editing > COUNT.
    2. Select cells (e.g., D2:D50).
    3. Press Enter. Result: =COUNT(D2:D50).

    Counterpart: Use =COUNTA( to count non-blank cells (text/errors too) or =COUNTIF( for conditional counts (e.g., =COUNTIF(B2:B20,">100")).

  6. TODAY: Dynamic Date

    Displays the current date and updates automatically. Example: Track due dates.

    1. Type =TODAY() in a cell.
    2. Press Enter. Shows today’s date (e.g., 15-Jun-2025).
    3. Press F9 to force an update (or close/reopen the file).

    Pro Tip: Subtract days for deadlines: =TODAY()+7 (7 days from now). Use =TODAY()-DATE(2025,1,1) to calculate age.

  7. CONCATENATE/TEXTJOIN: Combine Text

    Merges cells or text strings. Example: Combine first/last names into "John Doe".

    1. Old Method (CONCATENATE):
      1. Type =CONCATENATE(A2,&",B2) (add ampersand + space).
      2. Press Enter. Returns "John Doe".
    2. New Method (TEXTJOIN):
      1. Type =TEXTJOIN(", ",TRUE,A2:A10,B2:B10).
      2. Press Enter. Joins lists with commas (e.g., "John Doe, Alice Smith").

    Fix: If TEXTJOIN errors, ensure cell ranges contain text-only (no blanks).

  8. ROUND: Format Numbers

    Rounds numbers to a specified decimal place. Example: Display $12.3456 as $12.35.

    1. Type =ROUND(C2,2) (2 = 2 decimal places).
    2. Press Enter. Shows 12.35 (truncates, not rounds down).

    Alternatives:

    • =ROUNDDOWN(C2,1) for 1 decimal place downward.
    • =ROUNDUP(C2,0) for whole numbers upward.

  9. MIN/MAX: Find Extremes

    =MIN(range) returns the smallest value; =MAX(range) returns the largest. Example: Track lowest/highest stock levels.

    1. Type =MIN(A2:A10) or =MAX(B2:B10).
    2. Press Enter. Returns the extreme value.

    Use Case: Combine with IF for conditional extremes: =MAXIFS(C2:C100,A2:A100,"Active").

  10. ERROR.HANDLER: Debug Formulas

    Displays "Error" if a formula fails (e.g., #DIV/0!). Example: Prevent crashes in dashboards.

    1. Wrap risky formulas in =IFERROR(.
    2. Example: =IFERROR(VLOOKUP("Invalid",A2:B100,2,FALSE),"N/A").
    3. Press Enter. Returns "N/A" if VLOOKUP fails.

Common Mistakes

  • Forgetting the equals sign (=) in formulas. Excel treats SUM(A1:A10) as text, not a formula.
  • Incorrect ranges (e.g., A1:A100 includes hidden rows). Use =$A$1:$A$100 to lock absolute references.
  • Mismatched parentheses break formulas. Use the Formulas > Formula Auditing > Trace Precedents tool to spot errors.
  • Ignoring cell references when copying formulas. =SUM(A1:A10) becomes =SUM(B1:B10) if dragged right.
  • Overusing nested IFs (more than 6–7 layers). Replace with SWITCH or tables for readability.
  • Assuming VLOOKUP always works with text. Use =VLOOKUP(TRUE, for approximate matches or =XLOOKUP (Excel 365) for flexibility.

Tips for Faster Work

  • Keyboard Shortcuts:
    • Ctrl+C / Ctrl+V copies/formula pastes (use Ctrl+Shift to paste values only).
    • F4 toggles absolute/relative references (e.g., $A$1 → =$A$1).
    • F9 forces a formula recalculation.
  • Use Flash Fill (Data > Flash Fill) to auto-extract data (e.g., split "John Doe" into two columns).
  • Name Ranges for clarity. Select a column, go to Formulas > Define Name, and name it (e.g., "SalesData"). Use =SUM(SalesData) instead of =SUM(A2:A100).
  • Freeze Panes (View > Freeze Panes) to keep headers visible while scrolling.
  • Check Spell Check (Review > Spell Check) for formula typos (e.g., SUMIF vs. SUMIFS).
  • Enable Calculation Options (Formulas > Calculation Options > Automatic) to avoid delays in large sheets.

Troubleshooting

If formulas don’t work:

  1. Check for #DIV/0! or #VALUE! errors:
    • Divide by zero? Replace =B2/A2 with =IF(A2=0,0,B2/A2).
    • Wrong data type? Convert text to numbers with =VALUE(A2).
  2. Verify ranges:
    • Drag-select the range in the formula bar to see if cells are included/excluded.
    • Use =ISNUMBER(range) to check for valid numbers.
  3. Enable formula calculation:
    1. Go to Formulas > Calculation Options > Automatic.
    2. Restart Excel if changes don’t apply.
  4. Update Excel:
    1. Go to File > Account > Update Options > Update Now.
    2. Newer versions may fix bugs in older formulas (e.g., XLOOKUP replaces VLOOKUP).
  5. Reset formula syntax:
    1. Press Ctrl+; to insert a timestamp (force recalc).
    2. Delete the cell and retype the formula.
  6. Last Resort: Repair Workbook:
    1. Close Excel completely.
    2. Rename the file extension from .xlsx to .zip.
    3. Open the zip file, locate xl/sharedStrings.xml, and check for corrupted entries.
    4. Rename the file back to .xlsx and reopen.
    5. Warning: Only attempt this if you’re comfortable with file repair. For critical data, use File > Open > Browse > (Select File) > Open and Repair.

Frequently Asked Questions

Why does my VLOOKUP return #N/A?

This means Excel couldn’t find the lookup value. Check for:

  • Spelling errors in the search term.
  • Hidden spaces (type =TRIM(A2) to clean text).
  • Incorrect column range (e.g., searching column B but looking in column A).
  • Using =VLOOKUP("Partial",—try =XLOOKUP for partial matches.

How do I copy a formula down without changing references?

Lock cell references with dollar signs. Change =SUM(A1:A10) to =SUM($A$1:$A$10), then copy down. The column reference stays fixed while rows update.

Can I use formulas in filtered data?

Yes, but filtered data affects formula results. For example:

  • =SUM(A1:A100) includes all rows, but if you filter to show only rows 2–5, the sum will be smaller.
  • Use =SUBTOTAL(9,A1:A100) (9 = SUM) to ignore filters.

Why does my IF formula return blank instead of "False"?

Excel returns blank if the false value is empty. Fix it by explicitly setting the false value:

  • Change =IF(B2>100 to =IF(B2>100,"Pass","").
  • Or use =IF(B2>100,TRUE,FALSE) to force TRUE/FALSE returns.

How do I sort data before using formulas like AVERAGE?

Use Data > Sort to arrange data by a column (e.g., sort by date). For dynamic sorting, add a helper column with:

  • =RANK(E2,E$2:E$100) to rank values by column E.
  • Sort by the helper column to reorder results.

What’s the difference between SUMIF and SUMIFS?

=SUMIF(range, criteria, [sum_range]) sums one condition (e.g., sum sales > $100). =SUMIFS(sum_range, range1, criteria1, [range2, criteria2]) sums multiple conditions (e.g., sum sales > $100 in Region A and Q2).

Example: =SUMIF(D2:D100,">100") vs. =SUMIFS(D2:D100,B2:B100,"A",C2:C100,"Q2").

Can I use formulas in Excel’s PivotTables?

No, PivotTables use summary functions (Count, Sum, Average) but not custom formulas. To combine both:

  • Use PivotTables for high-level summaries.
  • Add formulas in adjacent columns for calculations (e.g., =PivotTable_Result*1.1 for markup).