Calculation of incremental date on completion of 18 years

baidya91

Board Regular
Joined
Jun 1, 2016
Messages
147
If joining date be between 2nd July to 31st December, the date of 18 years' increment will be 2nd July to 31st December after 18 years. But if the joining be between 1st January to 1st July, the date of 18 years' increment will be 1st July after 18 years. For Example, If A1 = 22/10/2000 as joining date, B1 = 22/10/2018 as the incremental date of 18 years. But
IF A1 = 03/02/2000 as the joining date, B1 = 01/07/2018 will be the incremental date of 18 years. How to put that in excel formula? Please help me. Thanks in advance.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try:
Code:
=DATE(YEAR(A1)+18,MONTH(A1)+6*--(DATE(YEAR(TODAY()),MONTH(A1),DAY(A1)) < DATE(YEAR(TODAY()),7,2)),DAY(A1))
 
Last edited:
Upvote 0
B1, copied down :

=MAX(DATE(YEAR(A1)+18,MONTH(A1),DAY(A1)),DATE(YEAR(A1)+18,7,1))

Regards
 
Upvote 0

Forum statistics

Threads
1,214,654
Messages
6,120,758
Members
448,991
Latest member
Hanakoro

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