The MEDIAN function
Returns the middle value of the numbers in B2:B30 once ordered. With an even count it averages the middle two. You do not need to sort the cells first.
Understanding The MEDIAN function in VCE Spreadsheets, SQL & Visualisation
What it does: MEDIAN orders the numbers internally, so the cells can stay in their original order. With 5 numbers there is a single middle value, the 3rd one when ordered, so MEDIAN returns it directly. Ordered, the values are 2, 4, 5, 7, 9. The middle one is 5. 7 is just the fourth number typed in. Every formula must start with =. Without it, the spreadsheet treats the entry as plain text. MEDIAN finds the middle number of the range, which makes it a good measure of the centre of a data set. Spreadsheet functions need brackets around their arguments, so the range must be written inside ( ).
Common mistakes: The function name is misspelt. The spreadsheet does not recognise MEDAIN. It should be =MEDIAN(A2:A4), which returns 7. The list is not in order. Sorted from smallest to largest it is 1, 3, 5, 8, 9, so the middle value is 5.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 4–20) and word search (Modules 4–34).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
=MEDIAN(B2:B30)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →