Topic 01
Basic Rules
Master the foundation of Excel — naming conventions, formula structure, functions, reference types, and order of operations. You'll apply every concept three ways using the same dataset, ending with an understanding of why Table references are the professional standard.
Core Concepts
Seven building blocks you need to know before writing a single formula. Click any concept to expand.
Everything in Excel has a name. Understanding the hierarchy helps you communicate precisely and write formulas confidently.
- Workbook — the Excel file itself (
.xlsx). Can contain many sheets. - Sheet / Worksheet — a single tab inside the workbook. Each sheet has its own grid.
- Column — vertical lines, identified by letters: A, B, C … Z, AA, AB …
- Row — horizontal lines, identified by numbers: 1, 2, 3 …
- Cell — the intersection of a column and row. Its address = column letter + row number →
B3 - Range — a group of cells. Contiguous:
B2:B17(colon = "to"). Multi-area:B2:B17,D2:D17
Every formula in Excel starts with =. After the equals sign, you combine cell references with math operators.
Example — add the first row of sales across all products:
= then click the cells. Excel fills in the references automatically and you avoid typos.
A function is a named, built-in formula. Instead of writing =B2+B3+B4+…+B17, you write:
The pattern is always: = FUNCTION_NAME ( arguments )
- As you type a function name, Excel shows a dropdown suggestion list. Press Tab to select.
- After the opening parenthesis, a tooltip appears showing the syntax and a description of each argument.
- Click the function name in the tooltip to open full help documentation.
SUM · COUNTA · COUNTBLANK · MAX · MIN · AVERAGE
Some functions in Excel 365 return multiple values at once. Instead of requiring you to copy the formula, Excel automatically fills (spills) the results into adjacent cells.
- A blue border highlights the entire spill range.
- You only edit the top-left anchor cell. The rest are read-only shadows.
- If the spill range is blocked by existing data, you get a #SPILL! error — clear the cells in the way.
- Reference a spill range using the
#operator:=SUM(A1#)sums everything the formula in A1 spilled.
When you copy a formula, Excel adjusts the cell references. Whether they move or stay fixed depends on the reference type.
- Relative
B2— adjusts in both directions when copied. Most common type. - Absolute
$B$2— row and column both locked. Never moves. - Mixed — locked column
$B2— column B stays fixed, row adjusts. - Mixed — locked row
B$2— row 2 stays fixed, column adjusts.
F4 to cycle through all four reference types. Press it multiple times to toggle.Excel evaluates formulas using the standard mathematical order of operations. The acronym BODMAS helps you remember it:
- Brackets
( )— evaluated first, innermost first - Orders
^— exponents / powers - Division
/and Multiplication*— left to right - Addition
+and Subtraction-— left to right
Without brackets — multiplication happens before addition:
With brackets — addition happens first:
Comparison operators compare two values and return TRUE or FALSE. They are the logic engine behind functions like IF, COUNTIF, and SUMIF.
Example — check if desktop sales in January exceed 50:
The Training Dataset
Monthly sales data for 16 months (Jan-2024 to Apr-2025) across four products: Desktop, Laptop, Mouse, and Monitor. Some months have blank values — intentionally, to practice COUNTBLANK.
| Months | Desktop | Laptop | Mouse | Monitor |
|---|---|---|---|---|
| Jan-2024 | 75 | 15 | 25 | 15 |
| Feb-2024 | 15 | 5 | 10 | 10 |
| Mar-2024 | 35 | 4 | 15 | 15 |
| Apr-2024 | 20 | 7 | 20 | 5 |
| May-2024 | 25 | 25 | 35 | 10 |
| Jun-2024 | 45 | 31 | 45 | 5 |
8 Calculations to Complete
These same eight results will be produced three times — once per method. The answers must match.
| # | What to calculate | Function to use | Column |
|---|---|---|---|
| 1 | Number of Months | COUNTA | Months |
| 2 | Total Sale of Desktop | SUM | Desktop |
| 3 | Months without Sales of Laptop | COUNTBLANK | Laptop |
| 4 | Highest Sales of Mouse | MAX | Mouse |
| 5 | Lowest Sales of Monitor | MIN | Monitor |
| 6 | Average Sales of Desktop | AVERAGE | Desktop |
| 7 | 50% of Total Sales of Monitor | SUM × 0.5 | Monitor |
| 8 | Total Sales (ALL products) | SUM | All |
Cell References — Reference sheet
Open the Reference sheet. Column I shows the calculation labels; enter your formulas in column H. Use direct cell references — B2:B17, C2:C17, etc.
| Calculation | Formula (cell references) |
|---|---|
| Number of Months | =COUNTA(A2:A17) |
| Total Sale of Desktop | =SUM(B2:B17) |
| Months without Laptop Sales | =COUNTBLANK(C2:C17) |
| Highest Sales of Mouse | =MAX(D2:D17) |
| Lowest Sales of Monitor | =MIN(E2:E17) |
| Average Sales of Desktop | =AVERAGE(B2:B17) |
| 50% of Total Sales of Monitor | =SUM(E2:E17)*0.5 |
| Total Sales (ALL) | =SUM(B2:E17) |
B2:B17 means "from B2 to B17." When you see a colon, read it as "to."
B2:E17 is a rectangle — all cells from B2 in the top-left to E17 in the bottom-right.
Named Ranges — naming sheet
Switch to the naming sheet. The data is identical but each column has been given a name (e.g. Desktop, Laptop). Your formulas can use these names instead of cell addresses.
How to name a range
B2:B17).Desktop.| Calculation | Formula (named ranges) |
|---|---|
| Number of Months | =COUNTA(Months) |
| Total Sale of Desktop | =SUM(Desktop) |
| Months without Laptop Sales | =COUNTBLANK(Laptop) |
| Highest Sales of Mouse | =MAX(Mouse) |
| Lowest Sales of Monitor | =MIN(Monitor) |
| Average Sales of Desktop | =AVERAGE(Desktop) |
| 50% of Total Sales of Monitor | =SUM(Monitor)*0.5 |
| Total Sales (ALL) | =SUM(Desktop,Laptop,Mouse,Monitor) |
Table References — Table sheet
Switch to the Table sheet. The data has been converted to an Excel Table. Formulas now use structured references — they read like English and stay correct automatically.
How to convert data to a Table
Ctrl + T (or Insert → Table).Sales.| Calculation | Formula (table references) |
|---|---|
| Number of Months | =COUNTA(Sales[Months]) |
| Total Sale of Desktop | =SUM(Sales[Desktop]) |
| Months without Laptop Sales | =COUNTBLANK(Sales[Laptop]) |
| Highest Sales of Mouse | =MAX(Sales[Mouse]) |
| Lowest Sales of Monitor | =MIN(Sales[Monitor]) |
| Average Sales of Desktop | =AVERAGE(Sales[Desktop]) |
| 50% of Total Sales of Monitor | =SUM(Sales[Monitor])*0.5 |
| Total Sales (ALL) | =SUM(Sales[Desktop]:Sales[Monitor]) |
Sales[Desktop] means "the Desktop column in the Sales table." Excel autocompletes column names as you type — press Tab to accept.
Why Table References Win
All three methods produce the same results today. But Tables have structural advantages that matter as your data grows.
Sales[Desktop] is self-documenting. Six months later you'll know what it means. B2:B17 tells you nothing about the data.