Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a general formula for Weighted average? I have a row of numerical
data, from 1 to 5. If it's 1, the weight is 0%, 2 - 25%, 3 - 50%, 4 - 75%, 5 - 100%. Is there a formula which I can do this? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In this case I would use sumif and count as shown below:
=((0.25*SUMIF(A1:A100,2))+(0.5*SUMIF(A1:A100,3))+( 0.75*SUMIF(A1:A100,4))+(1*SUMIF(A1:A100,5)))/COUNT(A1:A100) "MJ" wrote: Is there a general formula for Weighted average? I have a row of numerical data, from 1 to 5. If it's 1, the weight is 0%, 2 - 25%, 3 - 50%, 4 - 75%, 5 - 100%. Is there a formula which I can do this? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
MJ,
I think you want 100% if they're all 5s, 25% if they're all 2's, and stuff like that. This will treat the 1s as 0, but will still count them in the average, which I think you want. That is, it won't ignore them. Empty cells, or cells with 0 will change the result. =(AVERAGE(A4:E4-1))/4 It's entered as an array formula -- press Ctrl - Shift - Enter, not just Entter, any time you've edited it. Format for %. If that don't get it, give examples of some data, and the expected result. -- Regards from Virginia Beach, Earl Kiosterud www.smokeylake.com ----------------------------------------------------------------------- "MJ" wrote in message ... Is there a general formula for Weighted average? I have a row of numerical data, from 1 to 5. If it's 1, the weight is 0%, 2 - 25%, 3 - 50%, 4 - 75%, 5 - 100%. Is there a formula which I can do this? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with weighted average | Excel Discussion (Misc queries) | |||
Moving Weighted Average formula | Excel Discussion (Misc queries) | |||
calculating a weighted average using formula | Excel Worksheet Functions | |||
calculating a weighted average uisng formula | Excel Worksheet Functions | |||
What is the formula for weighted average? | Excel Worksheet Functions |