Date Formula Required Pls

Arts

Well-known Member
Joined
Sep 28, 2007
Messages
782
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi all

I have a list of dates and column headers as below, what I am hoping to achieve is if the "Actual End Date" column is blank I would like to insert today's date but if today's date is entered and if today's date is past the Due date I would like it to say "No Actual End Date Entered - Past Date". (Expected Results showing desired outcome)

Is it possible to have the TODAY function in an IF statement and then return what I have in the Expected Results Column

Where both due date and Actual End Date have a value this is fairly straight forward =IF(D6<C6,"On Time", "Past Date") but struggling to incorporate the TODAY function within this and then giving the result of "No Actual End Date Entered - On Time" or "No Actual End Date Entered - Past Date"

Due DateActual End DateResultExpected Result
29/03/2024​
No Actual End Date Entered - On Time
05/07/2023​
No Actual End Date Entered - Past Date
25/03/2023​
25/02/2023​
On TimeOn Time

Appreciate any help as always.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Try this:
Excel Formula:
=IF(D6<>"",IF(D6<=C6,"On Time", "Past Date"),IF(C6<TODAY(),"No Actual End Date Entered - Past Date","No Actual End Date Entered - On Time"))
 
Upvote 0
Solution
That is so irksome when you guys do that 😂, I think I said this to you once before when you helped me on an COUNTIF formula. I had spent close to an hour going nuts over this before waving the white flag. I was trying =IF(D4="",IF(D4(TODAY()<C4,, and all sorts....

Always trips me putting the second if in the TRUE part rather than the FALSE

Thanks Joe!!
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

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