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>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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"))<>
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

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