Whats wrong with this?

L

LucasBuck

=IF('M ORQ Rec'!B2=0,0,IF('M ORQ Rec'!B2>=12,20,IF('M ORQ
Rec'!B2>=10,18,IF('M ORQ Rec'!B2>=7,16,IF('M ORQ
Rec'!B2<=6,15,"N")))))

I want it to display N if there is text in B2, but it always shows 20
instead. Thanks
 
P

pinmaster

Try this:

=IF(ISTEXT(B2),"N",IF(B2=0,0,IF(B2>=12,20,IF(B2>=10,18,IF(B2>=7,16,IF(B2<=6,15,0))))))

HTH
JG
 
E

Elkar

You could rewrite your equation like this:

=if(istext('M ORQ Rec'!B2),"N",IF('M ORQ Rec'!B2=0,0,IF('M ORQ
Rec'!B2>=12,20,IF('M ORQ Rec'!B2>=10,18,IF('M ORQ Rec'!B2>=7,16,IF('M ORQ
Rec'!B2<=6,15))))))

HTH,
Elkar
 
Top