Changing cells based on dates

ammdumas

Active Member
Joined
Mar 14, 2002
Messages
469
Two things I'm horrible with...dates and macro loops.

I'm trying to go down a list and update a field based on a date(past due to be specific). IE, If the date in Column J3 is equal or older than TODAY then I want to change the field in column N3 to "PAST DUE".

I want this to cycle through the speadsheet (J4,J5,J6,etc.) every time it is opened.

Help is greatly appreciated... :ROFLMAO:
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
No macro or loops are necessary. Simply use an IF statment in N3:

=IF(J3<=NOW(),"Past Due","")
 
Upvote 0
Cool. It works. But I should have been a little more specific. There's some conditional formatting happening over that row when the field in question is 'PAST DUE'. The formula put 'PAST DUE' in even if there is no date in J3. How do I skip blanks?
 
Upvote 0
Simple modification:

=IF(AND(J3>0,J3<=NOW()),"Past Due","")
 
Upvote 0
Exxxxxxcelent!

They both work. Thanks guys. Now all I need to do is send email notifications for past due items. I'm going to take 1st crack at it before I whine for help. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,058
Latest member
oculus

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