Months between two dates

J

Jason K

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".
 
J

Jacob Skaria

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top