AverageIF

C

coastal

I would like to calculate the average of a range but want to ignore any cells
equal to zero. I tried the following formula but it returns an error
messsage (#NAME?)

=AVERAGEIF(O2:O1092,">0")

Does anyone have another formula? I am using Excel 2003
 
T

T. Valko

Try this array formula**:

=AVERAGE(IF(O2:O1092>0,O2:O1092))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
 

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

Top