Increment Date Calculation in excel

baidya91

Board Regular
Joined
Jun 1, 2016
Messages
147
I want a formula in excel to calculate date of increment of salary with the following conditions:

If date of joining falls between 2nd January to 30th June, date of increment will be 1st July next year but if date of joining falls between 1st July to 1st January, date of increment will be the date of joining next year

For example, if the date of joining be 25 January, 2001, date of increment will be 1 July, 2002 but if the date joining be 7 August, 2008, date of increment will be 7 August, 2009. I want to calculate the date of increment automatically in excel with the conditions mentioned above. Can anybody help me with the problem? Thanks

Date of joining Date of increment

25.01.2001 01.07.2002

03.03.2011 01.07.2012

07.08.2008 07.08.2009

11.11.1999 11.11.2000
 
Last edited:
Don't take it otherwise sir, may be I am wrong. I will try the way you want me to check. Thanks once again.
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Sir (Mr. Tetra201), will you please find a little time to see what disturbs in working of the formula in case of the date of joining as 25/01/2001 (25 January, 2001)? I have changed the formula as instructed by you: =IF(MONTH(EOMONTH(C12-1,0))<7,EOMONTH(C12,(6+12*10)-MONTH(C12))+(6+12*10),EDATE(C12,12*10)) where C12 is 25/01/2001 but the result I am getting is 03/11/2011 as the date of 10 years' increment in place of 01/07/2011 (1 JUly, 2011). In case of any mistake I beg of your apology in advance.
 
Upvote 0
Here are the formulas:

for 1 year =IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,18-MONTH(A1))+1,EDATE(A1,12))
for 10 years =IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,126-MONTH(A1))+1,EDATE(A1,120))
for 20 years =IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,246-MONTH(A1))+1,EDATE(A1,240))
for 30 years =IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,366-MONTH(A1))+1,EDATE(A1,360))

For 25/01/2001 as the date of joining, the return 01/07/2002, 01/07/2011, 01/07/2021, and 01/07/2031, respectively.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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