weighted average

I

inoexcel

Hi, how do I calculated a weighted average, but excluding cells that
have #div/0! or 0.

Thanks
 
J

Jerry W. Lewis

=SUMPRODUCT(IF(ISNUMBER(data),data),IF(ISNUMBER(weights),weights)) /
SUMPRODUCT(IF(ISNUMBER(weights),weights))

Jerry
 
Top