#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Finding Median Age

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Finding Median Age

This is tricky.

First, you'd have to have an odd number of age categories. If you have an
even number, then MEDIAN take the average of the two Medians to come up with
an artificial median not present in your list.

Second, if you had a Median value which shows up twice (let's say the
population count which creates a median is 30 but you have two age categories
which have a population of 30), then the first age bracket is what would turn
up.

If you can get past both of those issues (have an odd number of age brackets
every time and have a unique population count in each age bracket), then this
will give you the age bracket which falls within your Median:
=INDEX(A2:A8,MATCH(MEDIAN(B2:B8),B2:B8,0))

--
Please remember to indicate when the post is answered so others can benefit
from it later.


"BStacy" wrote:

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Finding Median Age

This finds the median age bracket but not the median age. How will I find
the median age?

"KC Rippstein" wrote:

This is tricky.

First, you'd have to have an odd number of age categories. If you have an
even number, then MEDIAN take the average of the two Medians to come up with
an artificial median not present in your list.

Second, if you had a Median value which shows up twice (let's say the
population count which creates a median is 30 but you have two age categories
which have a population of 30), then the first age bracket is what would turn
up.

If you can get past both of those issues (have an odd number of age brackets
every time and have a unique population count in each age bracket), then this
will give you the age bracket which falls within your Median:
=INDEX(A2:A8,MATCH(MEDIAN(B2:B8),B2:B8,0))

--
Please remember to indicate when the post is answered so others can benefit
from it later.


"BStacy" wrote:

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default Finding Median Age

Let us know how you will calculate MEDIAN on paper with the data you
have...We can try to convert that to Excel requirements...


"BStacy" wrote:

This finds the median age bracket but not the median age. How will I find
the median age?

"KC Rippstein" wrote:

This is tricky.

First, you'd have to have an odd number of age categories. If you have an
even number, then MEDIAN take the average of the two Medians to come up with
an artificial median not present in your list.

Second, if you had a Median value which shows up twice (let's say the
population count which creates a median is 30 but you have two age categories
which have a population of 30), then the first age bracket is what would turn
up.

If you can get past both of those issues (have an odd number of age brackets
every time and have a unique population count in each age bracket), then this
will give you the age bracket which falls within your Median:
=INDEX(A2:A8,MATCH(MEDIAN(B2:B8),B2:B8,0))

--
Please remember to indicate when the post is answered so others can benefit
from it later.


"BStacy" wrote:

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Finding Median Age

You can't, as Gary's Student points out, because you have not provided a data
set which includes every person listed with their age. You've chosen to
categorize your data into age brackers, so you'll get the median category
(age bracket), not the median age.

You either need to abandon the age bracket idea and input every person with
their age or take Gary's Student's suggestion of giving each person in your
population a row but faking their age based on their category....fake their
ages a whole bunch of statistically relevant times and record the median,
then take the MEAN of those results, and you'll be close but not 100%
accurate.
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"BStacy" wrote:

This finds the median age bracket but not the median age. How will I find
the median age?

"KC Rippstein" wrote:

This is tricky.

First, you'd have to have an odd number of age categories. If you have an
even number, then MEDIAN take the average of the two Medians to come up with
an artificial median not present in your list.

Second, if you had a Median value which shows up twice (let's say the
population count which creates a median is 30 but you have two age categories
which have a population of 30), then the first age bracket is what would turn
up.

If you can get past both of those issues (have an odd number of age brackets
every time and have a unique population count in each age bracket), then this
will give you the age bracket which falls within your Median:
=INDEX(A2:A8,MATCH(MEDIAN(B2:B8),B2:B8,0))

--
Please remember to indicate when the post is answered so others can benefit
from it later.


"BStacy" wrote:

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Finding Median Age

You can't calculate the median, the best you can do is to create an estimate.

For example in A1 thru A45, enter:
=RANDBETWEEN(0,14)

In A46 thru A68, enter:
=RANDBETWEEN(15,17)

and continue for each of the segments. Then use =MEDIAN(A:A)

each time you re-calculate the spreadsheet, you will get a new estimate of
the median. Save a pile of these estimates and calculate the MEAN of the
pile.

This should represent a good estimate of the median

--
Gary''s Student - gsnu200845


"BStacy" wrote:

Is there a function that will allow me to find a median age?

The data I have is in the following format:

Age Range Population
0-14 45
15-17 23
18-24 31
35-54 52
55-64 28
65+ 30

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the Median Bad_Shot New Users to Excel 7 January 7th 09 07:48 PM
finding the median from a list of unsorted numbers Christopher Buxton Excel Discussion (Misc queries) 2 March 21st 07 12:53 PM
Max/Min/Median gibsol Excel Worksheet Functions 3 February 28th 07 03:22 PM
Finding the median of numbers meeting criteria thekovinc Excel Discussion (Misc queries) 3 February 7th 06 12:45 AM
Finding Median if a value = 1.. help! Greg Excel Worksheet Functions 2 February 13th 05 03:28 AM


All times are GMT +1. The time now is 03:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"