Logical test.

Tychoo

New Member
Joined
Nov 30, 2010
Messages
10
I’m trying to do a logical test on the following<o:p></o:p>
Say I have todays date in cell A1 in Cell B2 I have the date of the next calibration with a logical test written if before date in cell B2 “OK” and after date “Over Due”. I have been trying to write a logical test to warn me that within 30 days I will need to action.<o:p></o:p>
So the cell look like this “OK”….”Action”….”Over Due”<o:p></o:p>
<o:p> </o:p>
Thanks in advance.<o:p></o:p>
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

=IF(B2< A2,"Overdue",IF(B2-A2< 30,"Action","OK"))<a2,"overdue",if(b2-a2<30,"action","ok"))< html=""></a2,"overdue",if(b2-a2<30,"action","ok"))<>
 

Watch MrExcel Video

Forum statistics

Threads
1,123,088
Messages
5,599,664
Members
414,325
Latest member
kfg1287

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
Top