Whats wrong with this function?

  • Thread starter Thread starter Angelsnecropolis
  • Start date Start date
A

Angelsnecropolis

B45 =IF(AVERAGE(B34:D34>0), AVERAGE(B34:D34),"")

It works fine when there is a number in B34 but if B34 is blank, even though
C34 and D34 are not blank, B45 is still blank.

How can I fix this so a number in any of the 3 fields will produce a number
in B45?

Thanks ^_^
 
I think that you mean

=IF(COUNT(B34:D34)>0, AVERAGE(B34:D34),"")

or even

=IF(COUNT(B34:D34), AVERAGE(B34:D34),"")
 
Thanks for the help. That worked.

Bob Phillips said:
I think that you mean

=IF(COUNT(B34:D34)>0, AVERAGE(B34:D34),"")

or even

=IF(COUNT(B34:D34), AVERAGE(B34:D34),"")



--
__________________________________
HTH

Bob
 
Back
Top