infotechelg
asked on
Excel Averages Question
Let's say I have 10 different categories. Each category can have a variable number of numeric values. Some might have 12 values. Some might have 8, Some might have 16.
I want to get the average of the values in each category to determine which category has the highest average (and so on down to the lowest).
However, it doesn't seem "fair" that one category is only averaging 8 values, but another is averaging 16.
So, I'd like to even this out, if possible, so that all category averages act like there are only averaging 10 values.
Does that make sense?
How would I go about doing this? Would I, for example, on the category with 16 values, do something like VALUE*(10/16) for all 16 values and then use the result of that formula to calculate the average? For example, if one of the property's value is 4, I'd do 4*(10/16) = 2.5?
That doesn't seem like it would be the ideal way to do it, however. I toyed around with PERCENTILE, but I don't think that would do the trick, either.
Any ideas?
I want to get the average of the values in each category to determine which category has the highest average (and so on down to the lowest).
However, it doesn't seem "fair" that one category is only averaging 8 values, but another is averaging 16.
So, I'd like to even this out, if possible, so that all category averages act like there are only averaging 10 values.
Does that make sense?
How would I go about doing this? Would I, for example, on the category with 16 values, do something like VALUE*(10/16) for all 16 values and then use the result of that formula to calculate the average? For example, if one of the property's value is 4, I'd do 4*(10/16) = 2.5?
That doesn't seem like it would be the ideal way to do it, however. I toyed around with PERCENTILE, but I don't think that would do the trick, either.
Any ideas?
Seems like AverageIF will work, can you post a sample workbook?
ASKER
Here you go. However, I'm not sure if my suggestion is the way to do this. I guess that's what I'm wondering: what's the best way to go about what I want to accomplish?
tmp_example.xlsx
tmp_example.xlsx
If I am following what your thought process is, let's assume a perfect score is 5 and if you have 10 perfect score responses instead of 16 with the math you've provided the resulting total score would be 31.25 or 3.125 average.
I'm not sure the best way to accomplish what you want in a fair manor.
I'm not sure the best way to accomplish what you want in a fair manor.
How about summing the results for each category and dividing by 10?
Example for Category 1: =SUM(B3:B19)/10
Example for Category 1: =SUM(B3:B19)/10
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Shums,
Thanks for taking the time to do this.
I'm not sure if I follow what's going on. Your formula returns the same results as just taking the average of all the values for each category.
Thanks for taking the time to do this.
I'm not sure if I follow what's going on. Your formula returns the same results as just taking the average of all the values for each category.
ASKER
Yeah, JP: I'm not sure if there's a "fair" way to do it, either.
ASKER
Rob, interesting thoughts. I'll try that and see what I come up with.
You mean like attached. You want to display Average for all the categories?
AverageIF_example_v2.xlsx
AverageIF_example_v2.xlsx
EDITED: Check attached...
AverageIF_example_v2.xlsx
AverageIF_example_v2.xlsx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Neil,
Your post makes a lot of sense. I was actually just thinking to myself: perhaps I am over-thinking this and just taking the average is fine.
I think I'm going to accept your solution as well as Rob's because his idea could apply in certain circumstances.
Thanks, again, for your input.
Your post makes a lot of sense. I was actually just thinking to myself: perhaps I am over-thinking this and just taking the average is fine.
I think I'm going to accept your solution as well as Rob's because his idea could apply in certain circumstances.
Thanks, again, for your input.
ASKER
Thanks, everyone, for their input!
ASKER
Shums,
Thanks for helping out. What you provided wasn't really what I was asking for (and I apologize for not explaining better), but there are a few tricks you put in there that may be helpful in the future!
Thanks for helping out. What you provided wasn't really what I was asking for (and I apologize for not explaining better), but there are a few tricks you put in there that may be helpful in the future!
:) Sorry we didn't have a better answer, though...