How to prorate raises

ronco1980

New Member
Joined
Aug 11, 2011
Messages
4
Using 2003. I need to calculate prorated raises for people hired from Jan 2011 to Aug 2011. People hired before Jan 2011 get 3% which is 100% available. People hired after August 2011 will not get any raise.

I have the hire date in column A, then current salary in B. I set up a VLookup table with hire date in A and raise % in B as follows
<TABLE dir=ltr cellSpacing=0 cellPadding=2 width=186 border=0><TBODY><TR><TD width="53%" height=16>Hire Month
</TD><TD width="47%" height=16>Increase
</TD></TR><TR><TD width="53%" height=16>12/1/2010
</TD><TD width="47%" height=16>3.00%
</TD></TR><TR><TD width="53%" height=16>1/1/2011
</TD><TD width="47%" height=16>2.75%
</TD></TR><TR><TD width="53%" height=16>2/1/2011
</TD><TD width="47%" height=16>2.50%
</TD></TR><TR><TD width="53%" height=16>3/1/2011
</TD><TD width="47%" height=16>2.25%
</TD></TR><TR><TD width="53%" height=16>4/1/2011
</TD><TD width="47%" height=16>2.00%
</TD></TR><TR><TD width="53%" height=16>5/1/2011
</TD><TD width="47%" height=16>1.75%
</TD></TR><TR><TD width="53%" height=16>6/1/2011
</TD><TD width="47%" height=16>1.50%
</TD></TR><TR><TD width="53%" height=16>7/1/2011
</TD><TD width="47%" height=16>1.25%
</TD></TR><TR><TD width="53%" height=16>8/1/2011
</TD><TD width="47%" height=16>1.00%
</TD></TR><TR><TD width="53%" height=16>9/1/2011
</TD><TD width="47%" height=16>0.00%
</TD></TR><TR><TD width="53%" height=16>10/1/2011
</TD><TD width="47%" height=16>0.00%
</TD></TR><TR><TD width="53%" height=16>11/1/2011
</TD><TD width="47%" height=16>0.00%
</TD></TR><TR><TD width="53%" height=16>12/1/2011
</TD><TD width="47%" height=16>0.00%

</TD></TR></TBODY></TABLE>​

I'm not sure to account for all those hired before Jan 2011 that would get the full raise. An If statement sounds right but I haven't figured it out.

Is there an easier way to calculate the new salary instead of first a percent then muliple to get the new salary?

I have looked at similar threads but can't quite seem to get everything to work.

I greatly appreciate any suggestions.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Note that the percentages have been shifted up by one cell and sorted in the opposite direction.
Excel Workbook
ABCD
1Hire MonthIncrease
201/12/20110.00%
301/11/20110.00%
401/10/20110.00%
501/09/20111.00%
601/08/20111.25%
701/07/20111.50%
801/06/20111.75%
901/05/20112.00%
1001/04/20112.25%
1101/03/20112.50%
1201/02/20112.75%
1301/01/20113.00%
1401/12/20103.00%
15
16
17
18
19post xl 2007pre xl 2007
2021/10/2010100103103
2121/11/2010100103103
2221/12/2010100103103
2321/01/2011100102.75102.75
2421/02/2011100102.5102.5
2521/03/2011100102.25102.25
2621/04/2011100102102
2721/05/2011100101.75101.75
2821/06/2011100101.5101.5
2921/07/2011100101.25101.25
3021/08/2011100101101
3121/09/2011100100100
3221/10/2011100100100
3321/11/2011100100100
3421/12/2011100100100
3521/01/2012100100100
3621/02/2012100100100
3721/03/2012100100100
3821/04/2012100100100
3921/05/2012100100100
4021/06/2012100100100
4121/07/2012100100100
4221/08/2012100100100
Sheet18
 
Upvote 0
p45cal, thank you for responding. You may have to guide me further. I set up the table as you showed on sheet 2. My data is similar starting in A2 and B2 and copied the second formula as I am in 2003. Which cell references do I need to change? I'm getting zero's in C. Thanks.
A B
<TABLE dir=ltr cellSpacing=0 cellPadding=2 width=142 border=0><TBODY><TR><TD width="53%" height=16>
Hire​
</TD><TD width="47%" height=16>
Salary​
</TD></TR><TR><TD width="53%" height=16>
12/12/2010​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
1/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
2/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
3/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
4/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
5/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
6/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
7/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
8/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
9/12/2011​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
11/1/2010​
</TD><TD width="47%" height=16>
50000​
</TD></TR><TR><TD width="53%" height=16>
</TD><TD width="47%" height=16>
</TD></TR></TBODY></TABLE>
 
Upvote 0
<table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tbody><tr><td>Spreadsheet Formulas</td></tr><tr><td><table style="font-family:Arial; font-size:9pt;" border="1" cellpadding="2" cellspacing="0"><tbody><tr style="background-color:#cacaca; font-size:10pt;"><td>Cell</td><td>Formula</td></tr><tr><td>C2</td><td>=(1+INDEX(Sheet2!$B$2:$B$14,IFERROR(MATCH(A2,Sheet2!$A$2:$A$14,-11),1)))*B2</td></tr><tr><td>D2</td><td>=(1+INDEX(Sheet2!$B$2:$B$14,IF(ISNA(MATCH(A2,Sheet2!$A$2:$A$14,-1)),1,MATCH(A2,Sheet2!$A$2:$A$14,-1))))*B2</td></tr></tbody></table></td></tr></tbody></table>

Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
p45cal
Thanks, I think I'm getting closer. It catches the prior to 2011 salaries OK, but none of the 2011 change.

<TABLE dir=ltr cellSpacing=0 cellPadding=2 width=236 border=0><TBODY><TR><TD width="32%" height=16>
Hire​
</TD><TD width="28%" height=16>
Salary​
</TD><TD width="40%" height=16>
New Salary​
</TD></TR><TR><TD width="32%" height=16>
12/12/2010​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
51500​
</TD></TR><TR><TD width="32%" height=16>
1/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
2/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
3/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
4/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
5/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
6/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
7/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
8/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
9/12/2011​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
50000​
</TD></TR><TR><TD width="32%" height=16>
11/1/2010​
</TD><TD width="28%" height=16>
50000​
</TD><TD width="40%" height=16>
51500​
</TD></TR></TBODY></TABLE>
 
Upvote 0
Try:

This pro-rates to the day (to the hour, but really...), based on Jan 1 or prior = 3%, Sept 1 and after = 0%. The samples are just to test a couple of dates as well as the outside cases. I think the prior examples were calculating to the nearest month - of course, that might be what you want...


Book1
ABCDE
1HireRangeRate
201-Jan-113%
301-Sep-110%
4
5ActualHireOldSalaryRateNewSalary
6EmployeeName101-May-1120,0001.48%20,296
7EmployeeName212-Feb-1130,0000.52%30,156
8EmployeeName312-Nov-1140,0000.00%40,000
9EmployeeName412-Nov-1050,0003.00%51,500
10etc
Sheet1
 
Upvote 0
I'm in the UK and my screenshots show dates in d/m/y format.
Your first post seemed to be in m/d/y format
You may have to adjust for this.
 
Upvote 0
p45cal...yep, it was the date. It did look like a UK format but didn't mention. Problem solved.

Appreciate sticking with me.

Thank you
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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