Easy Formula Question2

M

mikeeee

=IF(D4>MAX(D5:D14),"Leader","---")

I need a cell to return the value leader if cell D4 is greater than al
the other cells in the range listed above or to return the value--- i
it is not greater. The formula above is working except I need to als
include cells D1 D2 and D3 but am not quite sure what to do.

Thanks in advance

Mikeee
 
C

crispbd

mikeeee said:
=IF(D4>MAX(D5:D14),"Leader","---")

I need a cell to return the value leader if cell D4 is greater than al
the other cells in the range listed above or to return the value--- i
it is not greater. The formula above is working except I need to als
include cells D1 D2 and D3 but am not quite sure what to do.

Thanks in advance

Mikeeee

This will check to see if D4 is greater than the values in D1-D3 an
D5-D14. Let me know if this what you're looking for.

*=IF(D4>MAX(D1:D3),IF(D4>MAX(D5:D14),"Leader","---"),"---")
 
A

Art

Depending on whether you want all or any of D1:D4 to be greater you could try:

=IF(Max(D1:D4)>MAX(D5:D14),"Leader","---")
=IF(Min(D1:D4)>MAX(D5:D14),"Leader","---")

Art
 
Top