Lesson 2 of 8 · see all lessons
Formulas from zero
Answer questions with conditions and lookups
Organize and summarize the month
10 min
Relative vs absolute references in Excel ($A$1)
A relative reference like A1 shifts when you copy a formula; an absolute one like $A$1 stays put. Learn when you need the $ and the F4 shortcut.
By the end of this lesson you can
- Fill one formula down 30 rows and predict what each copy becomes
- Lock a cell with $ so every copy points at it
- Choose between $A$1, A$1 and $A1
- Explain #DIV/0! and #REF! after a copy or a delete
From earlier lessons · 1 of 2
What does =SUM(E2:E31) return on the café sheet?
Pick one answer.
From earlier lessons · 2 of 2
E2 holds the text 8 cups. What does =E2*F2 show?
Pick one answer.
Monday morning. The manager wants a money Total on all 30 rows before the 10 o'clock meeting. You type one formula and copy it down in a second. Then you add one more column, copy it the same way, and 29 cells fill with errors.
Take a guess
H2 holds =E2*F2. You copy H2 and paste it into H3. What formula is in H3?
No pressure. Guess now, and the lesson will show you if you were right.
Build the Total column
By default every reference is relative. Excel stores =E2F2 in H2 as the two cells three and two columns to my left, same row. Copy it one row down and it still means same row, so it becomes =E3F3.
That's exactly what a Total column needs. Type Total in H1 and the formula in H2. Then fill it down: double-click the small square at the bottom-right of H2 (the fill handle), or select H2:H31 and press Ctrl+D.
H1: TotalH2: =E2*F2 (fill down to H31)P6: RevenueQ6: =SUM(H2:H31)
Step through
Filling =E2*F2 down column H
- =E2*F20H2
- 1
- 2
- 3
- 4
You type one formula in H2.
When copying breaks: the share of the month
The manager asks: what share of March revenue was each line? That's each Total divided by the month's revenue in Q6. Type Share in I1 and the formula below in I2, then fill it down. To read the results as percentages, select column I, click the % button on the Home tab, then click Increase Decimal once.
I2: =H2/Q6 (then fill down)
Predict, then reveal
Why does every cell from I3 down show #DIV/0!?
Fix it with an absolute reference. A dollar sign in front of the column letter and the row number locks both: $Q$6. Every copy now points at Q6.
You don't have to type the dollars. Click inside Q6 in the formula and press F4. Each press cycles through $Q$6, Q$6, $Q6 and Q6. On a Mac, Cmd+T does the same.
I2: =H2/$Q$6 (fill down to I31)
The café plans a price rise. You type 10% into Q8. Which formula in J2 can you fill down to show every new price?
Pick one answer.
J1: New priceJ2: =F2*(1+$Q$8) (fill down)
Mixed references: lock only one side
A mixed reference locks just the column ($A1) or just the row (A$1). It matters when you copy a formula both down and across. The table below follows one formula copied two rows down and two columns right.
Match
A formula with this reference is copied two rows down and two columns right. Match each to what it becomes.
Pick an item on the left, then its match on the right.
You want a reference that always stays in column Q but moves down with each row. Which do you write?
Pick one answer.
Someone deletes column Q by mistake. What do the cells in column I show?
Pick one answer.
In Google Sheets: $ references work the same way. F4 cycles the $ signs while you type a formula (Fn+F4 on a Mac), and Ctrl+D fills down. You can also drag the small blue square at the corner of a selected cell to fill.
FlashcardsIndex cardsFlashcards ⚡
Card 1 of 16Worth keeping
- Plain references move with the formula; that's what fills a Total column in one step.
- Put $ on the part that must not move: $Q$6 locks one cell for every copy.
- F4 cycles $Q$6 → Q$6 → $Q6 → Q6.
- #DIV/0! after a fill often means a reference slid onto an empty cell; #REF! means a referenced cell was deleted.
Every row now has a Total. The manager's next question isn't a number: which orders were big? You could colour 30 rows by eye. Or one formula can decide for each row. It reads a test, picks an answer, and gets fooled by exactly one row on the boundary.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (6)
Each fact in the lesson is marked with the number of the page it comes from.
- [3]Microsoft Support: Keyboard shortcuts in Excel
- [4]Microsoft Support: SUM function
- [7]Microsoft Support: How to correct a #REF! error
- [8]Microsoft Support: Switch between relative, absolute, and mixed references
- [27]Google Docs Editors Help: Automatically create a series or list
- [28]Google Docs Editors Help: Keyboard shortcuts for Google Sheets