Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

  • Free Courses
  • Microsoft Excel
  • Insert a Function in Excel

Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

How to Insert Functions in Excel

Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

Excel has over 450 functions you can use to perform just about any kind of calculation. If you're having trouble finding the right function, the Insert Function command lets you search for the function you want. It also guides you through inserting the arguments, which is helpful for complex functions.

  1. Click the cell where you want to add a formula.
  2. Click the Insert Function button.
  3. Search for a function using one of these methods:
    • Type a few keywords that describe the function you want and click Go.
    • Select a category from the list arrow menu.
  4. Select the desired function.
  5. Click OK.

    Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

    The Function Arguments dialog box appears. Here you need to specify the arguments for the function you selected. In Excel, an argument can be a range of data, a specified output, or other parameters.

    If you're ever confused about what an argument is, just check the description down here.

  6. Enter the formula arguments.
  7. Click OK.
    Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

The dialog box closes and Excel displays the results of the inserted formula.

Use the Insert Function command to the left of the formula bar to Search for the MEDIAN function

FREE Quick Reference

Click to Download

Free to distribute with our compliments; we hope you will consider our paid training.

Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel 2010 Excel 2007 Excel for Mac 2011 Excel Starter 2010 More...Less

This article describes the formula syntax and usage of the MEDIAN function in Microsoft Excel.

Description

Returns the median of the given numbers. The median is the number in the middle of a set of numbers.

Syntax

MEDIAN(number1, [number2], ...)

The MEDIAN function syntax has the following arguments:

  • Number1, number2, ...    Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want the median.

Remarks

  • If there is an even number of numbers in the set, then MEDIAN calculates the average of the two numbers in the middle. See the second formula in the example.

  • Arguments can either be numbers or names, arrays, or references that contain numbers.

  • Logical values and text representations of numbers that you type directly into the list of arguments are counted.

  • If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.

  • Arguments that are error values or text that cannot be translated into numbers cause errors.

Note: The MEDIAN function measures central tendency, which is the location of the center of a group of numbers in a statistical distribution. The three most common measures of central tendency are:

  • Average     which is the arithmetic mean, and is calculated by adding a group of numbers and then dividing by the count of those numbers. For example, the average of 2, 3, 3, 5, 7, and 10 is 30 divided by 6, which is 5.

  • Median     which is the middle number of a group of numbers; that is, half the numbers have values that are greater than the median, and half the numbers have values that are less than the median. For example, the median of 2, 3, 3, 5, 7, and 10 is 4.

  • Mode     which is the most frequently occurring number in a group of numbers. For example, the mode of 2, 3, 3, 5, 7, and 10 is 3.

For a symmetrical distribution of a group of numbers, these three measures of central tendency are all the same. For a skewed distribution of a group of numbers, they can be different.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Data

1

2

3

4

5

6

Formula

Description

Result

=MEDIAN(A2:A6)

Median of the 5 numbers in the range A2:A6. Because there are 5 values, the third is the median.

3

=MEDIAN(A2:A7)

Median of the 6 numbers in the range A2:A7. Because there are six numbers, the median is the midway point between the third and fourth numbers.

3.5

Need more help?

How do I use the insert function in Excel?

How to Insert a function in Excel.
Select a cell..
Click the Insert Function button. The 'Insert Function' dialog box appears..
Look for a function or select a function from a category. ... .
Click OK. ... .
Click within the Range box and select the range A1:E1..
Click OK..
Select a cell..
Click the Insert Function button..

How do I do the median formula in Excel?

=MEDIAN(number1, [number2], …) The function uses the following arguments: Number1 (required argument) – The number arguments are a set of one or more numeric values (or arrays of numeric values), for which we wish to calculate the median. Number2 (optional argument)

How do you insert a function that will display the median price for the range?

MEDIAN Function Example Select the Insert Function button to open the Insert Function dialog box. Choose Statistical in the Category list. Select MEDIAN in the list of functions and then select OK. Highlight cells A2 to F2 in the worksheet to automatically insert that range.