John McGraw
Board Regular
- Joined
- Feb 25, 2002
- Messages
- 76
Is there any trick I can pull to get the
median for a series of data among only the data chosen by a condition?
Lets say column A has lables indicating the age of people, and column B has their height. Can I somehow write a formula to get the median height for people who's age is 20 for example?
I figured a way to do this for the average. (SUMIF(A:A,"=20",B:B)/COUNTIF(A:A,"=20))
But the other functions like median, min, max, etc have me stumped.
Thanks for any help.
median for a series of data among only the data chosen by a condition?
Lets say column A has lables indicating the age of people, and column B has their height. Can I somehow write a formula to get the median height for people who's age is 20 for example?
I figured a way to do this for the average. (SUMIF(A:A,"=20",B:B)/COUNTIF(A:A,"=20))
But the other functions like median, min, max, etc have me stumped.
Thanks for any help.