Excel Statistics He...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Excel Statistics Help

7 Posts
5 Users
0 Reactions
63 Views
Posts: 827
Free Member
Topic starter
 

I need to calculate the Median and Standard Deviation for a table of values with counts in Excel, so...

Number of People / Age
10 / 5
20 / 6
15 / 7
10 / 8
5 / 9

...what's the median age, and what's the standard deviation.

I can get the mean myself but I can't work out how to get the others. I don't want to have to type '5' into 10 cells 🙂

Any ideas please?


 
Posted : 26/04/2010 9:17 pm
Posts: 91097
Free Member
 

Did you look at the function help in the help file? I seem to remember there are stats functions in there.


 
Posted : 26/04/2010 9:21 pm
Posts: 827
Free Member
Topic starter
 

Yep - I can do say STDEV(B2:B9) to get the deviation of a single column, but if row A has counts I can't find a formula to consider them.

I've just manually done std dev by summing the square of the variation from the mean in another couple of columns. I'm sure Excel can already do this and I've just not found how.


 
Posted : 26/04/2010 9:42 pm
Posts: 0
Free Member
 

Jeez mate is that your list? Just type 5, 6 , 7 whatever in the top cell, copy and paste the values into the required number of cells will take you all of 30 secs, less time than it's taken me to type this.


 
Posted : 26/04/2010 10:27 pm
Posts: 19
Free Member
 

for the mean create a column c which is col a * col b. Then sum col c and divide that by the sum of col a.

median is trickier - thinking cap is on (but my reading glasses are not - just seen you did the mean)


 
Posted : 26/04/2010 10:44 pm
Posts: 6283
Full Member
 

Erm. Can you not just do =MEDIAN(range1:range2)


 
Posted : 26/04/2010 10:55 pm
Posts: 827
Free Member
Topic starter
 

Jeez mate is that your list?

Course not! That was just a sample.

I've just realised though (amazing what a night's sleep can do) that the original data from which the totals were produced is available so I can do the stats on that.


 
Posted : 27/04/2010 8:16 am
Posts: 0
Free Member
 

My second question was going to be, if that's not a sample, where is the source of that data!?


 
Posted : 27/04/2010 8:39 am