📊 Lesson 2.1: References & Operators — Absolute vs Relative
This is the lesson where the grid comes alive. Up to now you've been entering and formatting data — the first stage of our Data → Formulas → Analysis → Visualization → Dashboard journey. Now we step into Formulas. You'll learn what a formula actually is, how to point at other cells, the handful of operators you'll use forever, and the single most important idea in all of spreadsheets: the difference between a reference that moves when you copy it and one that stays put. Get this right and every formula you ever write becomes predictable.
📚 What You'll Learn
By the end of this lesson, you will be able to:
- Explain what a formula is — that it starts with
=, and a cell shows the result while the formula bar stores the logic - Use cell references like
A1and ranges likeB2:B10, building them by typing or by clicking - Use the arithmetic operators
+ - * /, the exponent^, percentages, and parentheses to control the order of operations - Tell the difference between relative (
A1), absolute ($A$1), and mixed (A$1,$A1) references — and use F4 to toggle them - Copy or fill a formula and predict exactly how its references shift, and recognize your first errors (
#DIV/0!,#VALUE!)
⏱️ Estimated Time: 50 minutes
🎯 Project: Build a small calculating "order sheet" — quantities times a fixed unit price held in one cell — using an absolute reference so a single copied formula computes every line total correctly.
In This Lesson
What a Formula Actually Is
A formula is an instruction you type into a cell that tells Excel to calculate
something instead of just storing what you typed. The rule that makes it a formula rather than plain text is
simple and absolute: it starts with an equals sign, =. Type =2+2 into
a cell, press Enter, and the cell shows 4. Type 2+2 without the equals sign
and the cell just shows the text "2+2" — Excel treats it as a label, not a calculation. That leading =
is the switch that turns a cell from a container into a little calculator.
Here's the idea that trips up almost every beginner, and once it clicks, everything else follows: a
cell shows you the result, but it stores the logic. After you enter =2+2, the grid displays
4 — but the cell doesn't actually contain the number 4. It contains the formula. To see the
real contents, click the cell and look at the formula bar, the long strip above the column
letters. The grid shows the answer; the formula bar shows the truth. Whenever a number looks wrong or mysterious,
your first move is always the same: click it and read the formula bar.
The real magic is that formulas usually calculate from other cells, not from typed-in numbers. Instead
of =2+2, you write =A1+A2. Now the cell means "whatever is in A1 plus whatever is in
A2." Change A1 from 2 to 200 and the formula's result updates instantly — you never touch the formula again. This
is the difference between a spreadsheet and a calculator: you're not computing a fixed sum, you're building a
living relationship between cells that stays correct forever. This is exactly the "living grid" idea from
Lesson 1.1, now made real.
📖 Definition
Formula bar: the input strip at the top of the sheet (just above the grid, next to the Name Box that shows the current cell address). It always displays the true contents of the selected cell — the formula you wrote, not the answer being shown. You can click into it to edit a long formula comfortably, or edit right in the cell by double-clicking or pressing F2.
One more habit worth forming today: read a formula out loud in plain English. =B2*C2 is "the value
in B2 times the value in C2." =B2*$B$14 is "B2 times whatever's locked in B14." If you can narrate a
formula, you understand it — and you'll catch mistakes before they spread across a hundred rows.
Cell References & Ranges
Every cell has an address: the column letter followed by the row number. The top-left cell is
A1. Three columns over and four rows down is D4. When you use that address inside a
formula, it's called a cell reference — it's how a formula says "go get the value that lives
here." References are the vocabulary of every formula you'll ever write.
Often you want to talk about a whole block of cells at once — a column of expenses, a row of monthly figures.
That's a range, and you write it with a colon between the top-left and bottom-right corners.
B2:B10 means "cells B2 through B10" — nine cells down a single column. A1:C3 means the
rectangular block from A1 to C3 — nine cells in a 3 × 3 grid. Ranges are what you feed to functions like
SUM (which you'll meet next lesson): =SUM(B2:B10) means "add up everything from B2 to B10." The
colon is how you say "to" or "through."
| You write | It means | Example use |
|---|---|---|
A1 |
One cell: column A, row 1 | =A1*2 — double whatever is in A1 |
B2:B10 |
A range: B2 through B10 (one column, nine cells) | =SUM(B2:B10) — total a column |
A1:C3 |
A rectangular block from A1 to C3 (nine cells) | =SUM(A1:C3) — total a grid |
A:A |
The entire column A | =SUM(A:A) — total a whole column |
2:2 |
The entire row 2 | =SUM(2:2) — total a whole row |
Typing a reference vs clicking to build one
There are two ways to put a reference into a formula, and good spreadsheet users flow between them without
thinking. The first is to type it: press =, type B2*C2, press
Enter. Fast when you know the addresses. The second — and often the safer one — is to click
and point: press =, then click cell B2 (Excel writes B2 for you),
type *, click cell C2, press Enter. Clicking means you never mistype an address,
and you can literally watch the formula build as you point at cells. Excel even color-codes each reference and
outlines the matching cell so you can see what you're pointing at. For ranges, click the first cell and drag to
the last, and Excel writes the B2:B10 for you.
💡 The Name Box
To the left of the formula bar is the small Name Box. It always shows the
address of the selected cell — a quick way to confirm exactly where you are. You can also type an address
into it (like B50) and press Enter to jump straight there, which is handy in big
sheets. We'll give ranges friendly names with this box back in Lesson 3.3.
Operators & Order of Operations
Formulas do math with operators — the same symbols you'd use on a calculator, with a couple of spreadsheet twists. There are only a handful, and you'll use them constantly, so they're worth a quick tour.
| Operator | Does | Example | Result |
|---|---|---|---|
+ |
Add | =10+5 |
15 |
- |
Subtract (also negative sign) | =10-5 |
5 |
* |
Multiply (an asterisk, not the letter x) | =10*5 |
50 |
/ |
Divide (a forward slash) | =10/4 |
2.5 |
^ |
Exponent — raise to a power | =2^3 |
8 |
% |
Percent — divides the number before it by 100 | =200*15% |
30 |
Two of these surprise newcomers. Multiplication is an asterisk (*), never the
letter "x" — typing =10x5 gives an error. And the percent sign is a genuine operator: writing
15% in a formula is exactly the same as writing 0.15. So =200*15% and
=200*0.15 both give 30. That makes percentages read naturally: sales tax of 8% on a price in B2 is
just =B2*8%.
Order of operations — parentheses are your friend
When a formula mixes operators, Excel doesn't just work left to right — it follows the same math rules you
learned in school. Exponents happen first, then multiplication and division, then addition and subtraction. So
=2+3*4 gives 14, not 20, because the 3*4 happens before the
+2. If that's not what you meant, use parentheses to force the order:
=(2+3)*4 gives 20. Parentheses always calculate first, from the innermost pair
outward. When in doubt, add them — they cost nothing and make your intent unmistakable both to Excel and to
anyone reading the formula later.
⚠️ Every open parenthesis needs a close. Excel counts them, color-codes matching pairs as you
type, and won't accept a formula with a mismatch. If you get a complaint about your formula, a missing
) is the most common cause. A useful test: read your parentheses in pairs from the inside out.
🧠 A memory hook
Think "PEMDAS" — Parentheses, Exponents, Multiplication/Division, Addition/Subtraction. Excel evaluates in exactly that order. If you can't remember the order, don't gamble: wrap the part you want done first in parentheses and you're always safe.
The Big Idea: Relative vs Absolute vs Mixed References
This section is the heart of the lesson and one of the most important ideas in all of spreadsheets. Beginners who skip it write formulas that mysteriously "break" when copied; people who understand it write one formula and fill it down a thousand rows with total confidence. Read it twice if you need to.
Here's the situation. You write a formula in one cell and then copy it — or drag it — to fill a column. When Excel copies a formula, it doesn't copy the text literally. It copies the relationship. That behavior is called a relative reference, and it's the default.
Relative references — they move (the default)
Suppose in cell C2 you write =A2*B2 ("quantity times price for this row"). Now you copy C2 down to
C3. Excel doesn't paste =A2*B2 — it adjusts the references to match the new row and writes
=A3*B3. Copy it to C4 and it becomes =A4*B4. Excel understood your formula as "multiply
the two cells to my left," and it keeps that relationship true wherever you move it. This is exactly what
you want most of the time: one formula, filled down, calculating each row correctly. Because the reference shifts
relative to where the formula lands, it's called relative.
Absolute references — they stay put (the $ lock)
But sometimes you don't want a reference to move. Imagine every line should be multiplied by a single
fixed unit price that lives in one cell, say B14. If you write =A2*B14 and copy it
down, the B14 shifts to B15, B16, B17 — pointing at empty cells — and every total below the first goes wrong.
You need to tell Excel "always use B14, no matter where this formula ends up." You do that with dollar signs:
$B$14. The $ before the column letter locks the column, and the $
before the row number locks the row. With both locked, =A2*$B$14 copied down stays
=A3*$B$14, =A4*$B$14 — the A moves, but B14 never budges. That's an
absolute reference. Think of the dollar signs as little anchors, or padlocks, pinning that part
of the address in place.
Mixed references — lock one, free the other
Between "everything moves" and "nothing moves" sits the mixed reference, where you lock
either the column or the row but not both. A$1 locks the row (row 1) but lets the
column drift; $A1 locks the column (A) but lets the row drift. These are the advanced setting — you
won't need them every day, but they're indispensable for things like multiplication tables and two-way grids,
where a formula must reach up to a header row and across to a header column at the same time.
| Reference | Type | Column when copied | Row when copied |
|---|---|---|---|
A1 |
Relative | Moves | Moves |
$A$1 |
Absolute | Locked | Locked |
A$1 |
Mixed (row locked) | Moves | Locked |
$A1 |
Mixed (column locked) | Locked | Moves |
The mental picture: the $ always locks the thing immediately after it.
$ before the letter locks the column; $ before the number locks the row. Read
$B$14 as "locked-B, locked-14," and A$1 as "free-A, locked-1."
Should this reference move with it?"] --> B{"Move on both
the row and column?"} B -->|"Yes, adjust to each cell"| C["Relative
A1"] B -->|"No, keep it fixed"| D{"Lock everything,
or just one part?"} D -->|"Lock both"| E["Absolute
dollar-A-dollar-1"] D -->|"Lock only the row"| F["Mixed
A-dollar-1"] D -->|"Lock only the column"| G["Mixed
dollar-A-1"]
The F4 key — toggle the dollar signs for you
You don't have to type dollar signs by hand. While editing a formula, click on (or right after) a reference and
press F4. Excel cycles through all four states with each press: A1 →
$A$1 → A$1 → $A1 → back to A1. So the workflow is: type or
click the reference, then tap F4 until you see the lock you want. This is one of the most useful
keystrokes in Excel — worth committing to muscle memory today.
⚠️ Platform note: F4 isn't the same everywhere
The F4 toggle is the classic Windows desktop shortcut. On a Mac,
the desktop app often uses Cmd+T instead (and on some laptop keyboards you may need
Fn+F4). In Excel for the web, the F4 shortcut may be caught
by your browser or simply not wired up. The reliable, works-everywhere method is to just type the
$ signs yourself — $B$14 means the same thing on every platform. Learn
F4 for speed, but never depend on it; typing the dollars always works.
Copying & Filling — How References Shift
Now let's put references to work the way you actually will: write one formula, then reuse it down a column. The power of relative references is that this "just works" — but only if you've locked the right things.
The everyday tool is the fill handle: the little square at the bottom-right corner of a selected cell. Click a cell with a formula, grab that tiny square, and drag it down (or across); Excel copies the formula into every cell you drag over, adjusting relative references as it goes. A shortcut: double-click the fill handle and Excel fills down automatically to match the length of the data beside it — no dragging. You can also copy the classic way with Ctrl+C then Ctrl+V (on the web and Windows; Cmd on Mac), or select the cell and the cells below it and press Ctrl+D to "fill down."
Here's the whole idea in one worked example. Say you have quantities in A2:A5, and a single fixed price in B1. You want each line total in C2:C5.
| Cell | You type in C2 | When filled down, C3 becomes | Result |
|---|---|---|---|
| Wrong way | =A2*B1 |
=A3*B2 ← B1 drifted to B2 (empty!) |
Broken below row 1 |
| Right way | =A2*$B$1 |
=A3*$B$1 ← price stays locked |
Correct on every row |
Same formula shape, one tiny difference — the dollar signs — and it's the difference between a sheet that works and one that quietly produces garbage. This is why we spent so long on absolute references: this exact pattern (many rows, one fixed value) comes up constantly, and you're about to build it yourself in the project.
💡 A quick way to audit a filled formula
After you fill down, click a cell partway down the column and read the formula bar. Do the references point where they should? Excel also colors each reference and draws a box around the cell it points at when you're editing — a fast visual check that your relative parts moved and your locked parts didn't.
A First Taste of Errors
Sooner or later a cell will show something like #DIV/0! instead of a number. Don't panic —
errors are Excel talking to you, not a sign you've broken anything. Each error code is a short
message telling you what went wrong, and once you recognize a few, they become genuinely helpful. Here are the two
you're most likely to meet first.
| Error | What it means | Typical cause |
|---|---|---|
#DIV/0! |
You tried to divide by zero (or by an empty cell) | =A2/B2 where B2 is blank or 0 — e.g. an average before any data is entered |
#VALUE! |
A formula got text where it expected a number | =A2*B2 where one cell contains a word like "N/A" instead of a number |
The fix for #DIV/0! is usually to wait until the divisor has a real value, or to guard the formula
so it shows something friendly while data is missing — you'll learn the clean way to do that (IFERROR)
in Lesson 4.3. The fix for #VALUE! is to find the cell holding text-where-a-number-should-be and
correct it; a stray space or a typed word is the usual culprit. For now, just recognize them: a code beginning with
# is an error message, and the code names the problem.
⚠️ Important Note: An error in one cell often spreads. If C2 shows#DIV/0!and D2 is=C2+10, then D2 shows an error too — it can't add to something that isn't a number. So fix the first error in the chain and the downstream ones usually clear themselves. Always trace an error back to its source.
🎯 Project: A Calculating Order Sheet
Time to make the grid calculate for real. You'll build a small order sheet where several items each have a quantity, and every line is priced from a single fixed unit price held in one cell. This is the classic "one locked value, many rows" pattern — the perfect exercise for absolute references. When you're done, you'll be able to change the price in one place and watch every total update at once. That's the living grid in action.
🏋️ Build the order sheet
Objective: Use a single absolute reference so one copied formula computes every line total correctly, then prove it updates when the price changes.
Instructions (about 15 minutes):
- (3 min) In a new sheet, set up a header for a fixed price. In A1 type
Unit priceand in B1 type2.50. Format B1 as currency if you like (from Lesson 1.3). - (3 min) Make a little table starting in row 3. In A3 type
Item, B3Qty, C3Line total. Fill A4:A8 with five item names and B4:B8 with five quantities (any whole numbers). Also typeDiscount 10%in D3 — you'll fill that column in the last step. - (3 min) In C4, build the line-total formula by clicking: press
=, click B4, type*, click B1, then press F4 (or type the dollars) so B1 becomes$B$1. You should have=B4*$B$1. Press Enter. - (2 min) Select C4 and use the fill handle (or Ctrl+D) to fill the formula down through C8. Click C6 and read the formula bar — confirm it says
=B6*$B$1(the B6 moved, the $B$1 stayed). - (2 min) In C10 add a grand total with
=SUM(C4:C8). (A preview of next lesson — SUM adds a range.) - (2 min) Now the payoff: change the price in B1 to
3.00and watch every line total and the grand total recalculate instantly. Try a percentage too: in D4 compute a 10% discount with=C4*10%and fill down.
💡 Hint — a starter layout
A B C D
1 Unit price 2.50
2
3 Item Qty Line total Discount 10%
4 Widget 3 =B4*$B$1 =C4*10%
5 Gadget 5 =B5*$B$1 =C5*10%
6 Gizmo 2 =B6*$B$1 =C6*10%
7 Doohickey 4 =B7*$B$1 =C7*10%
8 Sprocket 6 =B8*$B$1 =C8*10%
9
10 TOTAL =SUM(C4:C8)
Key point: $B$1 is LOCKED (absolute) so it never drifts when
you fill down. B4, B5, B6... are RELATIVE so they follow each row.
If a total looks wrong, click it and read the formula bar. The most common mistake is forgetting the
dollar signs on the price — then the price reference drifts down with each row, so the lines below the first show
0 (an empty cell), #VALUE! (the Qty header text), or a plausible-but-wrong
number (another quantity).
✅ Project Completion Checklist
- A fixed unit price sits in one cell (B1)
- C4 uses an absolute reference to that price:
=B4*$B$1 - You filled the formula down and confirmed the relative part moved while
$B$1stayed locked - A
=SUM(...)grand total adds the line totals - Changing the price in B1 updated every total at once
🎯 Quick Quiz
Question 1: You write =A2*$B$1 in cell C2 and fill it down to C3. What does the formula in C3 become?
Question 2: What does the formula =2+3*4 evaluate to, and why?
Best Practices for Formulas & References
✅ Do's
- Put fixed values in their own labeled cell and reference them absolutely (like a tax rate or unit price). Change one cell, everything updates — and readers can see the assumption.
- Click to build references when you can. Pointing at cells beats typing addresses from memory and avoids typos.
- Read the formula bar and narrate the formula in plain English before trusting it. "B4 times the locked price" — if it makes sense out loud, it's probably right.
- Reach for F4 (or type
$) the moment you realize a reference must stay put when copied.
❌ Don'ts
- Don't hard-code numbers you'll want to change. Writing
=B4*2.50in every row means editing every row when the price changes. Reference one cell instead. - Don't forget the dollar signs before filling down — the number-one cause of "why is everything below row 1 wrong?"
- Don't assume left-to-right. Mixed operators follow order of operations; add parentheses to be sure.
- Don't panic at an error code. Read it — it names the problem — and fix the first error in the chain.
💡 Pro Tips
- Double-clicking the fill handle fills down to match the neighboring column's length — no dragging on long lists.
- Press Ctrl+` (the backtick, top-left of most keyboards) on the desktop app to toggle "show formulas," revealing every formula on the sheet at once — a great way to audit references.
📓 Learning Journal
Keep adding to your learning journal — a note, a document, or a second worksheet in the workbook you're building. After this lesson, jot down:
- Key concepts you learned (formulas, references, operators, absolute vs relative)
- Techniques that clicked for you (clicking to build references, F4, the fill handle)
- Questions or confusion points to revisit
- Ideas you want to try with your own data
- Your progress and feelings — especially any moment the "locked vs moving" idea clicked
✍️ This lesson's prompt: In your own words, explain the difference between
A1 and $A$1 as if you were teaching a friend — and describe one real situation from
your own data where you'd want a value locked in place while everything else moves. Writing the explanation
yourself is the fastest way to make it stick.
📝 Lesson Summary
🎓 Key Takeaways
- A formula starts with
=. The cell shows the result; the formula bar stores the logic — click a cell and read the bar to see the truth. - References like
A1point at cells; ranges likeB2:B10point at blocks. Build them by typing or, more safely, by clicking and pointing. - Operators are
+ - * /, exponent^, and%. Excel follows order of operations (PEMDAS) — use parentheses to control it. - Relative references (
A1) move when copied; absolute ($A$1) stay locked; mixed (A$1,$A1) lock one part. F4 toggles them on Windows desktop; type the$to be safe everywhere. - When you fill a formula down, the relative parts shift and the locked parts don't — the key to "one formula, many rows." Errors like
#DIV/0!and#VALUE!are messages that name the problem.
🎉 What You've Accomplished
You've crossed from entering data into calculating with it — the second stage of the course. You built a real order sheet driven by a single locked price, filled a formula down a column, and watched every total update when you changed one cell. More importantly, you now understand the relative/absolute distinction that quietly powers almost every spreadsheet ever made. That's a genuine milestone.
❓ Common Questions at This Stage
When exactly do I need absolute references?
Whenever a formula must always point at the same cell even after you copy it — a fixed price, a tax rate, a target, a total you divide each row by. If a reference should follow along row-by-row (like "the cell to my left"), leave it relative. A good habit: before filling a formula down, ask of each reference, "should this move or stay?" and lock the ones that should stay.
The F4 key does nothing on my computer. Am I doing it wrong?
Probably not — F4 is the Windows desktop shortcut. On a Mac try Cmd+T (or
Fn+F4), and in Excel for the web the shortcut may be intercepted by your browser. The
method that works everywhere is to simply type the dollar signs yourself: $B$1. Same result, no
shortcut needed.
Why is my column wrong below the first row — zeros, #VALUE!, or odd numbers?
The classic symptom of a missing lock. You almost certainly referenced a fixed value relatively (like
=B4*B1) and filled down, so B1 drifted to B2, B3, B4… — an empty cell
(giving 0), a header (giving #VALUE!), or another quantity (a believable but wrong total). Click the first broken
cell, add the dollar signs to the fixed reference ($B$1), and fill down again.
🔭 Looking Ahead
In the next lesson — Lesson 2.2: Everyday Functions — SUM, AVERAGE, COUNT, IF, ROUND & TODAY
— we build on formulas by adding functions: named, ready-made calculations that do the heavy lifting for
you. You'll meet AutoSum, total and average a range in one click, count things, round numbers, make a cell decide
for itself with IF, and stamp today's date automatically. You'll add all of these to a budget sheet.
✅ Before the Next Lesson
- Keep your order sheet — you'll recognize
SUMand build on this style of thinking - Make sure you can confidently toggle a reference between
A1and$A$1 - Write your Learning Journal entry for this lesson
📚 Additional Resources
- Microsoft Excel Help & Learning (Microsoft Support)
- Overview of formulas in Excel (Microsoft Support)
- microsoft365.com — open Excel for the web
🌟 Encouragement for the Journey
You just learned the idea that separates people who "use spreadsheets" from people who command them. The dollar sign is small, but understanding when to reach for it is the difference between a sheet that works and one that mysteriously breaks. You've got it. Next up, functions make everything faster. Let's keep going. 📊