Overdue or Not

dragonmouse

Board Regular
Joined
May 14, 2008
Messages
129
Office Version
  1. 2016
Platform
  1. Windows
Should be easy. Column "A" has a DUE DATE. Based on the date as of TODAY(). Is it late or not? I can deal with simple true or false. It's just not working.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
in B1:

(if today is counted as not late, enter this: )
=IF(A1<=TODAY(),"Not Late","Late")

if today is late then take out the = sign before TODAY in the formula<today(),"not late","late")<today(),"not="" late","late")<="" html=""></today(),"not>
 
Last edited:
Upvote 0
The formula above is returning "Not Late" for those items that do not have an entry as in cell A1. Everything that has an entry returns LATE whether is it or not using formula =IF(A1<=TODAY(),"Not Late","Late")


A ................... B
1 BLANK.......... Not Late
2 25-JUL-18......LATE
3 1-JUN-18.......LATE
4 19-JUN-18.....LATE
5 30-JUL-18......LATE
 
Last edited:
Upvote 0
works for me.

btw, this addition takes care ofblanks:

=IF(A1<>"",IF(A1<=TODAY(),"Not Late","Late"),"")

but the rest works for me...

is column a formatted as date or text?
 
Upvote 0
I think I see what's been happening. For whatever reason when it transferred over to EXCEL from my database it changed my dates to TEXT. I tried formatting it but it's not working. So now I have a new problem to figure out. But thank you. I think this will work when I figure out how to clean up the format.
 
Upvote 0
This worked, not as fancy...just returns a true or false but I can live with it. Thank you so much:

=TODAY()-A1>0
 
Upvote 0
Too late to edit but this works too to get rid of blanks, I guess there's so many ways to do this, I wish I understood why:

=IF(ISBLANK(A1),"",TODAY()-A1>0)
 
Upvote 0
This worked, not as fancy...just returns a true or false but I can live with it. Thank you so much:

=TODAY()-A1>0


Actually, there are a million ways to do everything...

but this method is not as efficient, partly because someone reading this formula: =TODAY()-A1>0 is harder to read after-the-fact, while =A1<=TODAY() is more used and more straigtfoward, (meaning that if you read from left to right, you can see the question being asked (formula in red): Is A1 less than (<) or equal to (=) TODAY()?

all the best
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,577
Members
449,039
Latest member
Arbind kumar

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