We can use the **MEDIAN function** to return the **middle number** in a range. If the total numbers in the range are odd, the middle number is taken as the median. If the total numbers in the range are even, the average of the two middle numbers is taken as the median. The steps below will walk through the process.

*Figure 1- Final result of the MEDIAN function*

**Syntax**

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

**number1**: This is a number or cell reference that refers to numeric values**number2**[optional]: This is a number or cell reference that refers to numeric values

**Formula**

**=MEDIAN(C5:F5)**

**Setting up the Data**

- The
**Branches**of a betting store will be entered into**Column B** **Column C, D, E,**and**F**will contain the**NUMBER OF BETTORS**for each of the stores for 4 days- The
**median**for each branch will be returned in**Column G**

* Figure 2 – Setting up the Data*

**Calculate the MEDIAN for each Branch**

- We will click on
**Cell G5** - We will insert the formula below into
**Cell G5**

**=MEDIAN(C5:F5)** - We will press the
**enter**key

* Figure 3- Median for Vegas*

- We will click on
**Cell G5**again - We will
**double click**on the fill handle tool which is the small plus sign you see at the bottom right of**Cell G5.**Select and drag down to copy the formula to other cells.

* Figure 4- Median for the Stores*

**Note**

- Any empty cell and cell with text or logical values within the range is ignored by the
**MEDIAN Function** - The numbers could be supplied to the
**MEDIAN function**as numbers, ranges, named ranges, or cell references that contain numeric values. Up to 255 numbers can be supplied.

**Instant Connection to an Expert through our Excelchat Service**

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

## Leave a Comment