Your First Formulas

SUM, AVERAGE and the fill handle: a self-study lesson for everyday council work.

Council fleet fuel log Community pool visitors
§ Intro

How this deck works

Driving it

Click (or / Space) builds the current slide one step at a time, then moves on
undoes one step, then one slide
E edits any text in place (Ctrl+S saves a copy)
Rail (left) jumps between the 7 sections

The colour key, worth memorising

Amber is a cell the formula is reading
Green is a whole range being combined
Blue is the result
Try it now: click anywhere to light up a cell ▸
One click, one build step. That is the whole trick.
§ Intro

Prerequisite knowledge

Selecting and typing

You'll need to know how to open a workbook, click a cell, type into it and press Enter for this part. If that's unfamiliar, pause here, look it up, and come back.

Column letters, row numbers

B2  =  column B, row 2

Every cell has an address: its column letter followed by its row number. This deck leans on those addresses constantly, so make sure the idea feels comfortable before moving on.

§ Intro

Meet the two datasets

One skill, two jobs. If you can make a formula work on both sheets, you actually understand it; that transfer is the test this deck keeps setting you.

Fleet fuel log, one month of fills

5 vehicles · litres pumped and dollars spent, straight off the bowser dockets.

Community pool, one week of visitors

7 days · the gate tally, typed in each evening.

§ The old way

The old way: a calculator beside the keyboard

The month ends and someone asks for total litres. The familiar routine: read each number off the sheet, punch it into the phone, then type the answer back in. It works, until it doesn't.

The phone calculator

68 + 240 + 95 + 180 + 22 = 605
typed into the sheet →
read a number, punch a number, five times over the answer goes in as plain text: the sheet has no idea where 605 came from
§ The old way

Three ways that number goes bad

None of these are carelessness; they're baked into the method. Anything typed by hand is frozen the moment you type it.

One typo, start again

Punch 95 as 59 and nothing warns you. The only fix is to notice, then re-key the whole lot from the top.

→ a formula fixes this

Change a number, the total lies

A late docket arrives and the grader's 240 becomes 300. The typed 605 just sits there, wrong, looking perfectly confident.

→ a formula fixes this

No trail

Six months on, nobody can say which cells made that total, or whether the biscuit run was included. The working is in someone's head.

→ a formula fixes this
§ First formulas

Your first formula, one piece at a time

A formula is an instruction you leave in a cell. It always starts with an equals sign, and it points at cells by their addresses rather than copying their numbers. Let's add the Hilux and the grader.

B7=B2+B3
the equals sign is the wake-up call: calculate this, don't just store what I typed not the number 68; the address of the cell that holds it plus whatever lives in B3 press Enter: Excel fetches both values and does the maths, 68 + 240
result →
§ First formulas

Adding the whole column, the hard way

You could chain every cell together with plus signs. It works, and it already beats the phone calculator, because it updates itself. But five references is tedious here, and a real register might have two hundred rows.

B7=B2+B3+B4+B5+B6
every cell named by hand, one plus sign at a time right answer, wrong effort. There has to be a shortcut, and there is.
result →
§ First formulas

SUM: one word, one range

SUM is a function: a named recipe Excel already knows. You hand it a range of cells in brackets and it adds everything inside. The colon is the key bit of punctuation: B2:B6 reads as "B2 through to B6".

B7=SUM(B2:B6)
one word replaces every plus sign: add up whatever is inside the brackets a range: from B2 through to B6, the whole stretch lights up green close the bracket and press Enter same 605, and it wouldn't matter if the range were two hundred rows tall
result →
§ First formulas

AVERAGE: same shape, different question

"What's a typical fill?" is an AVERAGE question: add everything up, divide by how many there are. You already know how to write it, because it has exactly the same shape as SUM.

B8=AVERAGE(B2:B6)
a different recipe name, the same range in brackets 605 litres across 5 vehicles: 121 each, on average name, bracket, range. Every function you meet today follows this pattern.
result →
Name, bracket, range. Learn the shape once and you've learnt a few hundred functions on the spot.
§ First formulas

The whole point: totals that keep themselves honest

A late docket arrives; the grader actually took 300 litres, not 240. In the old way, this is where the typed total quietly becomes a lie. Watch what the formulas do instead.

B7=SUM(B2:B6)
B8=AVERAGE(B2:B6)
fix the one cell that was wrong: 240 becomes 300 every formula that reads that cell corrects itself, instantly, without being asked
total →
average →
The typed 605 from the old way would still say 605 tonight. This is why formulas exist.
§ First formulas

Now prove it on the pool sheet

Different sheet, different question, same two moves. The visitors live in B2 to B8 this time; seven rows instead of five, and the formulas don't care.

B9=SUM(B2:B8)
B10=AVERAGE(B2:B8)
the week's gate tally, one range 336 swimmers through the gate same range, AVERAGE asks the follow-up question 48 a day, the number the pool report actually wants
week total →
daily average →
§ The fill handle

A new job: a total on every row

Morning tea for the community meeting. Each line needs its own total, quantity times price, and the star * is how Excel writes "times". Start with the first row only.

D2=B2*C2
how many we're ordering times the price each; the star is the times sign 3 platters at 45.00: this row is done. Four rows to go, and we are not typing four more formulas.
§ The fill handle

The fill handle: write once, drag down

Select D2 and look at its bottom-right corner: there's a tiny green square. That square is the fill handle. Grab it and drag down the column, and Excel copies the formula into every row you cross.

D2=B2*C2
the small square in the corner of the selected cell: that's the handle drag it down to D6 and let go; every row fills with its own total one formula written, five rows answered
Hover the corner and the cursor becomes a thin +. That's your grip.
Each copy lands with the right answer for its own row. More on that in a moment.
Shortcut: double-click the handle and it fills to the bottom of the data by itself.
§ The fill handle

Look inside the copies

Click each total and read the formula bar. Nothing was pasted blindly: every copy has quietly re-aimed itself at its own row. A plain reference like B2 really means "two cells to my left", and it keeps meaning that wherever the formula lands. That's called a relative reference.

D2 =B2*C2

The original: row 2's quantity times row 2's price.

D3 =B3*C3

The first copy. The row numbers moved down by one, all by themselves.

D6 =B6*C6

Four rows down, the references have moved four rows too. Each copy answers for its own row.

§ Dollar signs

When copying goes wrong

Now a sheet with one shared number: the GST rate, parked once at the top in B2. Every row should multiply by that same cell. Watch what the fill handle's helpful re-aiming does to it.

C4=B4*B2
the first row is perfect: 200.00 times the rate in B2 is 20.00 fill down and the copies re-aim everything, including the rate: C5 reads empty B3, C6 reads B4, which is a price nothing crashed, no error appeared; the answers are simply wrong. This failure is silent.
C5 became =B5*B3: 80.00 times an empty cell is 0.00
C6 became =B6*B4: 120.00 times 200.00 is 24,000.00 of GST on a hall clean
The copies kept stepping down the sheet. The rate didn't come along.
§ Dollar signs

The fix: pin the rate with dollar signs

Two dollar signs turn a reference into an absolute reference: one before the column letter, one before the row number. The meaning is simple: when I'm copied, do not move this bit.

C4=B4*$B$2
B4 stays relative, it should move row by row; $B$2 is pinned to the rate fill down again: every copy still points at B2, and every answer is right change the rate once at the top and every row follows. One shared cell, pinned once.
C5 is =B5*$B$2 → 8.00 · C6 is =B6*$B$2 → 12.00
This one habit, pinning shared cells, is the most useful trick on any council sheet.
§ Dollar signs

The three kinds of reference

Every reference you'll ever write is one of these. The first two carry you through nearly everything; the third is worth recognising when you meet it in someone else's sheet.

B2
Relative, moves with the copyDEFAULT
row-by-row maths like Qty times Price; what you get when you click a cell
$B$2
Absolute, pinned
one shared cell every copy must keep reading: a GST rate, a price per litre
B$2
Mixed, half pinned
pins just the row, or just the column ($B2). Rare at first; know it exists.
Typing dollar signs by hand gets old fast. While editing a reference, tap F4 and Excel cycles through all four versions for you: B2 → $B$2 → B$2 → $B2.
§ More functions

Same shape, more questions

You know the shape: name, bracket, range. Here's the rest of the everyday family, each one answering a different question about the same fuel column.

SUM
What do they add up to?
=SUM(B2:B6) → 605 litres
AVERAGE
What's typical?
=AVERAGE(B2:B6) → 121 litres per vehicle
MIN
What's the smallest?
=MIN(B2:B6) → 22, the mower's sip
MAX
What's the biggest?
=MAX(B2:B6) → 240, the grader's month
COUNT
How many numbers are there?
=COUNT(B2:B6) → 5 fills recorded
§ More functions

The cheat sheet, keep this one

=NAME(first:last) equals sign · function name · a range in brackets

The colon reads as "through to": B2:B6 is B2 down to B6.

The everyday five

SUMadd the range up
AVERAGEthe typical value
MINthe smallest
MAXthe biggest
COUNThow many numbers

The fill handle

  • Select the formula cell
  • Grab the small square, bottom-right corner
  • Drag down the column, then spot-check a copy
  • Double-click it to fill to the bottom

Dollar signs

B2moves with the copy
$B$2pinned; shared cells like a GST rate
F4cycles the dollar signs for you
cell being read
range being combined
result / pinned cell
works in every version of Excel
§ Wrap up

When it goes wrong: the usual suspects

SUM(B2:B6)

Excel printed your formula back at you as plain text instead of calculating.

Fix: it's missing the equals sign. Every formula starts with =

#####

A row of hashes. The number is fine; the column is just too narrow to show it.

Fix: double-click the boundary between the column letters to widen it.

#VALUE!

A plus-sign formula hit a cell holding words, like "n/a" typed in a number column.

Fix: make every cell in the calculation a real number. (SUM skips words silently; + does not.)

Circular reference

The formula includes its own cell, like =SUM(B2:B7) sitting in B7. Excel chases its tail and warns you.

Fix: keep the total outside the range it adds up.

Range off by one

=SUM(B2:B5) quietly missed the last row, or swallowed the total row above. Plausible, wrong.

Fix: watch the coloured box as you type; it should hug exactly the numbers.

Golden rule

Click any number and read the formula bar. The answer to "where did this come from?" is always written there, or it isn't, and now you know which.

§ Wrap up

Now teach it

Your six talking points

  1. The equals sign wakes Excel up: calculate this, don't just store it.
  2. Point at cells, not numbers: change the cell and every formula follows.
  3. Name, bracket, range: SUM, AVERAGE, MIN, MAX and COUNT all share one shape.
  4. The fill handle: write a formula once, drag the little square down.
  5. Copies re-aim themselves: plain references are relative, and that's a feature.
  6. Dollar signs pin shared cells: $B$2 keeps every copy reading the one rate.

Three challenges, click to reveal each answer

① Fuel log · What did the whole fleet's fuel cost this month?
=SUM(C2:C6) → 1089.00
② Pool · What was the biggest single day at the gate?
=MAX(B2:B8) → 76, Saturday
③ Catering · D2 holds =B2*C2. Fill it down: what formula lands in D6?
=B6*C6 → the references re-aim to row 6

Every number on a sheet should be able to explain itself. Yours now can.

Charles Darwin University TAFE | ICT, Cyber Security & Digital
editing — click any text · Ctrl+S saves a copy · E to exit