Amend IF False Statement.

dgavin

Active Member
Joined
Feb 16, 2005
Messages
302
I am currently using this formula

=IF(T5>0,"CLEAR",IF(AND(COUNTIF(Sheet2!$E$2:$E$5000,"F")+COUNTBLANK(Sheet2!$E$2:$E$5000)=4999,$I$2>=40,F5>0,Dutch!$D$62<100,$L$2=0,$S$1>=0,$S$1<=120,$U$1>3,$F$2<>"Suspended"),"GO",""))

If all critiera are met then the formula will return "GO", otherwise it returns blank.

Instead of blank I want to return "STOP" but only if F5<=1.5,L2>0 and S1<0

Many Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Code:
=IF(T5>0,"CLEAR",IF(AND(COUNTIF(Sheet2!$E$2:$E$5000,"F")+COUNTBLANK(Sheet2!$E$2:$E$5000)=4999,$I$2>=40,F5>0,Dutch!$D$62<100,$L$2=0,$S$1>=0,$S$1<=120,$U$1>3,$F$2<>"Suspended"),"GO",IF(AND(F5<=1.5,L2>0,S1<0),"STOP","")))

Possibly.
 
Upvote 0
Instead of blank I want to return "STOP" but only if F5<=1.5,L2>0 and S1<0

To return "STOP" instead of blank if F5<=1.5,L2>0 and S1<0, try replacing "" with:-
Code:
[COLOR=red]IF(AND(F5<=1.5,L2>0,S1<0),"STOP",[/COLOR][B][COLOR=blue]""[/COLOR][/B][COLOR=red])[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,754
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top