Please help

Melmillw82

New Member
Joined
Nov 14, 2017
Messages
27
Hi all,
I need help with a formula. I have reg date in column A, I would like to find out the next service date of the vehicle. I need a formula that will add 18 months to the reg date then keep adding 18 months untill a certain date. But only if its less than my end date.
Thins is driving me mad please help.

Thanks in advance
 
Agreed
it's probably the DAYS function that OP may not have,

One commentary stated that the Days function started with version 2013.
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Thank you
=EDATE(A12,CEILING(DATEDIF(A12,TODAY(),"m"),18))
Worked!!.
I am also wanting something similar but it adds 36 months to the reg date then adds 12 after that until todays date? Any help appreciated. ?
 
Upvote 0
What did you try?

It is not clear how you are using the formula.

If Today is the expiry, the formula will show a blank.

consider
=IF(EDATE(A13,MAX(36,CEILING((TODAY()-A13)/30.4375,12)))>TODAY(),"",EDATE(A13,MAX(36,CEILING((TODAY()-A13)/30.4375,12))))
 
Upvote 0
=IF(EDATE(A13,MAX(36,CEILING((TODAY()-A13)/30.4375,12)))>Expiry,"",EDATE(A13,MAX(36,CEILING((TODAY()-A13)/30.4375,12))))
 
Upvote 0
It has to take reg date add 36 months then keep adding a year. So I get the next service date after today. but if the car has only just been registered then it has to add 3 years on the another 12 months.
 
Upvote 0
so you didn't try the formula!


Excel 2010
ABCD
131-Jan-20131-Jan-2019
141-Jan-20181-Jan-2021
15
2b
Cell Formulas
RangeFormula
D13=EDATE(A13,MAX(36,CEILING((TODAY()-A13)/30.4375,12)))
D14=EDATE(A14,MAX(36,CEILING((TODAY()-A14)/30.4375,12)))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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