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

RE: Formula for Weighted Average by Joel

Joel
Sun May 11 20:55:00 CDT 2008

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

Re: Formula for Weighted Average by Earl

Earl
Sun May 11 22:08:45 CDT 2008

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" <MJ@discussions.microsoft.com> wrote in message
news:EAF45EA9-E801-4A05-9A34-D682BDE8C963@microsoft.com...
> 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