

Let us find the median for the above data using the MEDIAN function.

MEDIAN Function in Excel Examples Example #1: Dataset with Odd Number of ValuesĪ company has the following sales data for the years 2014 to 2022. Thus, the median value for the dataset is 36.5. To find the average of 33 and 40, we must add both numbers and divide the result by 2. Since the position of the median is 5.5, it means the median value is the average of the values present at the 5th and 6th positions of the dataset.Īs per our dataset arranged in ascending order (2, 5, 14, 23, 33, 40, 66, 89, 90, 101), the 5th and 6th values are 33 and 40, respectively. Now, we will calculate the median’s position using the below formula, Sort the data in the dataset in ascending order (you can follow any of the methods shown in Example #1). As there are 10 observations in our dataset, n will be 10. Therefore, the median value for the dataset sorted in ascending order (21, 34, 42, 45, 65, 90, 109) is 45. We must check what is the 4th item in the dataset. We can calculate the median’s position using the following formula:Īs the position of the median value in the dataset is 4. Step 2: Find the Median’s Position in the Data Set Right-click over the selected data -> choose Sort -> Click “Sort Smallest to Largest”. To sort the data from the smallest to the highest number, you have 2 options:ġ. Go to the Data tab -> Sort & Filter group-> click on Sort.Ģ.

As per our dataset, we will select cells A5 to A11. So, first, select the range of cells you want to sort. It’s important to sort the dataset in ascending order before we find the median. As the number of values in the dataset is 7, n will be 7. Simple Median Formula Examples Example #1: Odd Number of ObservationsĬalculate the Median for the dataset: A= 42, 21, 34, 65, 90, 45, 109.
Median geometry formula download#
You can download this Median Excel Template here – Median Excel Template 1.
