Google Sheets MEDIAN: Find the Middle Practice Value
MEDIAN finds the middle value after the numbers are considered in order. For the five numeric practice inputs below, use =MEDIAN(B2:B6) in empty D2 and compare the result with 9.
Check the existing inputs and empty destination
On a computer, open your intended editable personal practice file and sheet tab. This example uses five existing fictional numeric inputs. Read each address and value below against the practice sheet. Do not overwrite real data to reproduce it.
| Cell | Numeric value |
|---|---|
| B2 | 12 |
| B3 | 5 |
| B4 | 9 |
| B5 | 20 |
| B6 | 7 |
B2:B6 includes all five cells from B2 through B6. Select D2, outside that input range, and verify that D2 is empty before typing. If the file, tab, addresses or values differ, stop here.
Verify the formula and destination before Enter
- With empty D2 selected, type =MEDIAN(B2:B6).
- Before pressing Enter, verify MEDIAN, the B2 and B6 endpoints, the colon and closing parenthesis, and destination D2. Reject any unrelated formula or range suggestion.
- If the address or formula differs, stop. Otherwise, press Enter.
- Reselect D2 and read the formula bar. It should show =MEDIAN(B2:B6).
- Compare the displayed result with 9 only for the five input values above. If the formula, addresses, values or result differ, stop and ask the owner before continuing.
Check why the middle value is 9
For explanation only, consider the five numbers in ascending order: 5, 7, 9, 12, 20. This separate list explains the middle position; keep the input cells in their original order.
Two numbers come before 9 and two come after it, so 9 is the middle value.
The median is not necessarily the value in the middle input cell. B4 contains 9 in this example by coincidence. MEDIAN needs no presorting and does not reorder the source cells. Finish after checking D2.
Common questions
Do I need to sort the practice cells first?
No. MEDIAN finds the middle value after considering the numbers in order. It does not reorder the source cells. This example keeps B2:B6 in its original order.
Is the median the value in the middle input cell?
Not necessarily. The median is the middle value after ordering the numbers. For these five values, that value is 9. Its appearance in B4, the middle input cell, is a coincidence.
Sources
- Google Docs Editors Help: MEDIAN: formula syntax and the middle value for an odd number of values.
- W3Schools: Sheets MEDIAN: select a result cell, enter the function and range, then press Enter.
- ProductivitySpot: Sheets MEDIAN: range-entry steps and calculating without first sorting the source cells.