Whats wrong with this function?

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 ^_^
 
B

Bob Phillips

I think that you mean

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

or even

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

Angelsnecropolis

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
 

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