MEDIAN Function

Returns the value of the midpoint of the range of numbers

Syntax

MEDIAN(number1, [number2, ...])
  • number1
    The numbers, cell reference, or range for which you want the median
  • number2, ... —[optional]
    Additional numbers, cell references, or ranges for which you want the median

Sample usage

MEDIAN(Cost1:Cost5)

Examples

This example references the following sheet information:

 Item NumberTransaction TotalUnits SoldPrice Per Unit
1C0011,170.007815.00
2C0021,491.004235.50
3C003812.00217200.00

Given the table above, here are some examples of using MEDIAN in a sheet:

FormulaDescriptionResult
=MEDIAN([Transaction Total]:[Transaction Total])Gives the median of the Transaction Total column.1,170.00
=IF([Price Per Unit]@row > 14, MEDIAN([Units Sold]:[Units Sold], " "))If the price per unit on each row is greater than 14, give the median of the Units Sold column. Otherwise, do nothing.78

Still need help?

Use the Formula Handbook template to find more support resources and view 100+ formulas. It includes a glossary of every function that you can practice working with in real-time and examples of commonly used and advanced formulas.

You can find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.

Ask the Community