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:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Excel 2010
ABCDEF
125-Jan-011-Jul-02
23-Mar-111-Jul-12
37-Aug-087-Aug-09
411-Nov-9911-Nov-00
5
6
7What do you want to show if start date is Jan 1?
8
4d
Cell Formulas
RangeFormula
B1=AND(A1>DATE(YEAR(A1),1,1),A1<=DATE(YEAR(A1),6,30))*DATE(YEAR(A1)+1,7,1)+AND(A1>DATE(YEAR(A1),6,30),A1<=DATE(YEAR(A1),12,31))*DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))
 
Upvote 0
Mr. Dave Patton, the formula does not apply in case of 01/01/2001 as a date of joining. Please do something.
 
Last edited:
Upvote 0
Tetra201's formula looks much better.

Baidya91 stated
"Mr. Dave Patton, the formula does not apply in case of 01/01/2001 as a date of joining. Please do something."

to Baidya91
This is your situation. I asked for clarification on 01-01-yyyy.
You could expand the formula.
Tetra201's solution addresses that anomaly.
 
Upvote 0
Mr. Patton you are right that Mr. Tetra201's formula looks much better but this formula does not apply in case of 10/20/30 years' increment. It is applicable only in the case of annual increment. So I request you to revise your formula to sort out the anomaly of 01/01/2001.
 
Upvote 0
Sorry Sir (Mr. Patton), Tetra201's formula is working fine in case of 20/30/10 years' increment. I made a mistake in altering the figure in the formula. Thanks both of you. Don't mind, Mr. Tetra201. You are right from the beginning. Thanks for the help provided to me.
 
Upvote 0
Dear Mr. Tetra201, will you suggest a way how calculate the date of 10/20/30 years' increment if the date of joining 25/01/2001 or 24/01/2003? I tried to alter the last figure of your formula 12 (=IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,18-MONTH(A1))+1,EDATE(A1,12))) into 120, 240 or 360 to suit my purpose of 10/20/30 years' increment but it does not work in case of joining date 25/01/2001 but works fine in case of joining date 06/07/1990. Please help me.
 
Upvote 0
Sorry Sir (Mr. Patton), Tetra201's formula is working fine in case of 20/30/10 years' increment. I made a mistake in altering the figure in the formula. Thanks both of you. Don't mind, Mr. Tetra201. You are right from the beginning. Thanks for the help provided to me.
Dear Mr. Tetra201, will you suggest a way how calculate the date of 10/20/30 years' increment if the date of joining 25/01/2001 or 24/01/2003? I tried to alter the last figure of your formula 12 (=IF(MONTH(EOMONTH(A1-1,0))<7,EOMONTH(A1,18-MONTH(A1))+1,EDATE(A1,12))) into 120, 240 or 360 to suit my purpose of 10/20/30 years' increment but it does not work in case of joining date 25/01/2001 but works fine in case of joining date 06/07/1990. Please help me.
Here is how to adjust my formula:

18 --> 6+12*n; 12 --> 12*n, where n=1,2,3,...,10,...

I also encourage you to triple-check your calculations before saying that somebody's formula does not work.
 
Upvote 0

Forum statistics

Threads
1,215,895
Messages
6,127,624
Members
449,390
Latest member
joan12

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