Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Months between two dates

I need to find out if the elapsed time between two dates (TRANS Date, Issue
Date) is = to or < 12 months. If it is need it to say "1st YR", and if not
"Renewal".


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Months between two dates

Dear Jason

Use DATEDIF() with an IF()

With Start Date in A1 and end date in B1 try

=IF(DATEDIF(A1,B1,"m")12,"Renewal","1st YR")

OR

=IF(DATEDIF(TRANS Date, Issue Date,"m")12,"Renewal","1st YR")

If this post helps click Yes
---------------
Jacob Skaria


"Jason K" wrote:

I need to find out if the elapsed time between two dates (TRANS Date, Issue
Date) is = to or < 12 months. If it is need it to say "1st YR", and if not
"Renewal".


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Months between two dates

Thanks alot, it worked, and also brought to my attention some other stuff

"Jacob Skaria" wrote:

Dear Jason

Use DATEDIF() with an IF()

With Start Date in A1 and end date in B1 try

=IF(DATEDIF(A1,B1,"m")12,"Renewal","1st YR")

OR

=IF(DATEDIF(TRANS Date, Issue Date,"m")12,"Renewal","1st YR")

If this post helps click Yes
---------------
Jacob Skaria


"Jason K" wrote:

I need to find out if the elapsed time between two dates (TRANS Date, Issue
Date) is = to or < 12 months. If it is need it to say "1st YR", and if not
"Renewal".


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
Need to transform the dates to months dereksmom Excel Worksheet Functions 4 May 16th 07 04:29 PM
Display Months by looking at the dates [email protected] Excel Worksheet Functions 4 January 24th 07 06:32 PM
Adding months to dates should account for 28-30-31 day months Graham Excel Worksheet Functions 3 February 1st 06 12:06 PM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Need More Help on Dates to Months Xandlyn Excel Worksheet Functions 4 March 12th 05 12:50 PM


All times are GMT +1. The time now is 04:04 PM.

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"