IF Function

G

Gerard Sanchez

Can anyone help me get this to work?

=IF(AND(COUNT(C20:C53,F20:F53,I20:I53)>0,IF(ISNUMBER(H51,A54,D54,G54))),SUM(B20:B53,E20:E53,H20:H51)/2,"NOT
BALANCED !")


Thanks!
 
T

T. Valko

What are you trying to do with this:
IF(ISNUMBER(H51,A54,D54,G54))

Do you want to test *every* cell or *any* cell?

Why not just use the COUNT function:

For every cell it would be:

COUNT(H51,A54,D54,G54)=4

For any cell it would be:

COUNT(H51,A54,D54,G54)>0
 
G

Gerard Sanchez

Thanks Bill!@


T. Valko said:
What are you trying to do with this:


Do you want to test *every* cell or *any* cell?

Why not just use the COUNT function:

For every cell it would be:

COUNT(H51,A54,D54,G54)=4

For any cell it would be:

COUNT(H51,A54,D54,G54)>0
 

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