Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date expires in 2 years

I am looking for a formula that would mark the cell as "EXPIRED" if the date
is 2 years or more.

My scenario is if a person is trained I need to be notified if the date
trained is 2 years or more because it means they need to be retrained.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Date expires in 2 years

With the date you want to test against in A1

=IF(DATEDIF(A1,TODAY(),"y")=2, "train","Alright for now")

--


Regards,


Peo Sjoblom

"Catguam" wrote in message
...
I am looking for a formula that would mark the cell as "EXPIRED" if the
date
is 2 years or more.

My scenario is if a person is trained I need to be notified if the date
trained is 2 years or more because it means they need to be retrained.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date expires in 2 years

Thank you.

"Peo Sjoblom" wrote:

With the date you want to test against in A1

=IF(DATEDIF(A1,TODAY(),"y")=2, "train","Alright for now")

--


Regards,


Peo Sjoblom

"Catguam" wrote in message
...
I am looking for a formula that would mark the cell as "EXPIRED" if the
date
is 2 years or more.

My scenario is if a person is trained I need to be notified if the date
trained is 2 years or more because it means they need to be retrained.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail when deadline expires The Fool on the Hill Excel Discussion (Misc queries) 0 July 27th 07 10:42 AM
To delete a row automatically ocne a closing date expires. bollard Excel Discussion (Misc queries) 9 March 29th 07 03:30 PM
How do I subtract a date from a date for a sum of total years? Paige Excel Discussion (Misc queries) 4 October 27th 05 03:10 PM
How to set up alarm for cell has entry as date when it expires? Vinod Menon Excel Worksheet Functions 1 October 18th 05 06:20 AM
calculate no. of years between a date and today's date Sue Excel Worksheet Functions 10 June 14th 05 02:56 AM


All times are GMT +1. The time now is 02:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"