IF Formula with dates

lenahanr

New Member
Joined
Mar 21, 2004
Messages
8
In cell a1 I have a date. In cell b1, I want the date from A1 to be entered only if it's in the future. If it's in the past, I would like to have 'Complete" entered. If have tried a bunch of if/then stuff but am getting confused with the <today function, if that is even the right one.

Thanks in advance, this board is great once lost!

rob
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
lenahanr said:
In cell a1 I have a date. In cell b1, I want the date from A1 to be entered only if it's in the future. If it's in the past, I would like to have 'Complete" entered. If have tried a bunch of if/then stuff but am getting confused with the <today function, if that is even the right one.

Thanks in advance, this board is great once lost!

rob

=IF(A1 > TODAY(), A1, "Complete")
 
Upvote 0
Hello lenahanr.
Is this what you had in mind?
Code:
=IF(A1>TODAY(),A1,"Complete")
Hope it helps.
 
Upvote 0

Forum statistics

Threads
1,202,964
Messages
6,052,829
Members
444,602
Latest member
Cookaa

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