If formula to notify when a date is approaching todays date

Poolshark25

New Member
Joined
Jan 3, 2019
Messages
31
Hi all

My apologies, i'm quite new to excel formulas.

I need to create an If formula in my training spreadsheet that will display "Retrain" when the training renewal date is within 7 days of todays date. I also want it to display "Not due" when the renewal date is either/or, more than 7 days of todays date or is not due to be retrained until a future date in a "Status" column.

Alternatively, which would be more ideal, i would like it to display "Retrain" when the date is within 7 days of todays date, "Not Due" when the renewal date is more than 7 days before todays date and "Overdue when the renewal date is past todays date.

So far i have managed to do the following code which does part of my outcome but am struggling with the rest of it:

=IF(DAYS(TODAY(),C9)<7, "Retrain")

The above works so far as returning "Retrain" when the date approaching is within 7 days of todays date but is also returning "Retrain" for renewal dates in the future which is no what i want.

Could anyone please help with the correct formula to achieve my 3 outcomes, as in paragraph 2?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
so the below formula should work for you
=IF(E2="",IF(DAYS(C2,TODAY())<7,"Retrain","Not Due"),"Train at future date")
In column E I have the future training date (assuming it is empty without a date there) and column C the renewal date

Hope it helps, works for me, let me know if you need anything else
 
Upvote 0
Also that should work below for what you asked in paragraph 3 (column c is the renewal date)

=IFS(DAYS(C2,TODAY())<0,"Past due",DAYS(C2,TODAY())>=7,"Not due",DAYS(C2,TODAY())<7,"retrain")
 
Upvote 0
Also that should work below for what you asked in paragraph 3 (column c is the renewal date)

=IFS(DAYS(C2,TODAY())<0,"Past due",DAYS(C2,TODAY())>=7,"Not due",DAYS(C2,TODAY())<7,"retrain")

Hi Ecxel_Learnerz

Many thanks for the advice, I tried this and it works a treat.

At some point i may also need to have excel email a manager when a training due date turns to "Retrain" status.

Is s possible to set this up in excel so that an email is generated and sent when the status changes to "Retrain" without the manager having to go into the spreadsheet on a regular basis to check training statuses?

Regards
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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