weighted average

  • Thread starter Thread starter inoexcel
  • Start date Start date
I

inoexcel

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

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

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top