appzasGamesToolsDevLearnCheat sheetsQuick calcsConvertersReferenceNetworkTimeCalculatorsCompareLLM prices

Formulas and cell references

Lesson 1 of 49 minBeginner

Start with =, use ranges, and understand relative and absolute references.

Every formula starts with =. It can use numbers, operators and cell references such as B2. Columns are letters and rows are numbers.

=B2*C2            multiply two cells
=SUM(B2:B10)      add a range
=AVERAGE(B2:B10)  average
=MIN(B2:B10)  =MAX(B2:B10)
=COUNT(B2:B10)    how many numbers
=COUNTA(A2:A10)   how many non-empty cells

Relative and absolute references

When you copy a formula down, references shift: =B2*C2 becomes =B3*C3. That is a relative reference. A dollar sign locks the part after it, making it absolute.

ReferenceCopied one row down and one column right
B2C3
$B2$B3 (column locked)
B$2C$2 (row locked)
$B$2$B$2 (fully locked)

Typical use: a tax rate in E1. Write =B2*$E$1 and copy it down, so every row multiplies by the same cell. Press F4 to cycle through the lock types.

NotePercentages are numbers: 15% is 0.15. Format a cell as percent instead of typing 15 and dividing by hand.

Test yourself

Answer all the questions, then check them. Finish with every answer right to mark the lesson as done.

HintSUM with a range.
2. What does $B$2 mean when you copy the formula?
3. Which key cycles through relative and absolute references?
HintCOUNTA, with an A at the end.

Key terms