Calculate Median from Frequency Table

gracecyl

New Member
Joined
May 21, 2018
Messages
12
Hello, does anyone know of a formula to calculate the median from this frequency table? (assuming the list goes on, way beyond row 10)

[TABLE="width: 188"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]number[/TD]
[TD]frequencies[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]1240[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]2395[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]5538[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]9837[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]14545[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]16061[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]21340[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]25770[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]22434[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]17497[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]12081[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I may be missing something here but just =MEDIAN(B2:B400) or whatever length your table is should give you the median.
 
Upvote 0
That is calculating median from a range. My question is asking about calculating median from a frequency table, NOT a string.
 
Upvote 0
I think this will do what you want.
First calculate the cumulative frequency.
Then the position of the median will be (n+1)/2 or 74369.5 in your example.
You could then use the LOOKUP function to find the number or 6 in your example.
Excel Workbook
ABCDE
1numberfrequenciesCFPosition of Median = (n+1)/2
201,2401,24074369.5
312,3953,635Median
425,5389,1736
539,83719,010
6414,54533,555
7516,06149,616
8621,34070,956
9725,77096,726
10822,434119,160
11917,497136,657
121012,081148,738
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top