formulas - monthly salary forecast

XPuser

New Member
Joined
Feb 6, 2011
Messages
12

Hi all -
I’m trying to build out a monthly salary forecast where Feb 1 is the first day of the fiscal year. I would like to do this in Excel using Excel functions (ie no VBA).
The starting point for this worksheet is a data from an HR system (Columns A through W). Only Column N is relevant as it contains the current annual salary.
To that I have added:
· Column X – Start Date of the employee (which is the hire date)
· Column Y - Permanent Non-FT % - this adjusts the annual salary for employees that do not work a full 5 day week on a permanent basis (eg – they only work 4 days per week or 80%)
· Column Z – Annual Salary in Column N as adjusted by any % Column Y
· Column AA – Effective Date of any Salary Increase
· Column AB – New Salary after salary increase (stated at 100%)
· Column AC – New Salary after salary increase as adjusted by any permanent non-FT % in Column Y
· Column AD – start date for any Leave of Absences (ie a worker who is temporarily off for parental leave – that leave could be a full leave or a partial leave)
· Column AE – return date for any Leave of Absences
· Column AF – this is the expected % of the full-time salary expected to be paid during any Leave of Absences (could be zero % or could be higher if employee just takes a reduced work week)
· Column AH – Termination Date (for employees that resign or are fired)
My main concern is Column AI to Column AT where I need to build formulas to calculate the monthly salary expected to be paid in each given month. I have tried to do this but I am not struggling with the nested ifs and other logical operators. Here is the formula that I currently have in Cell AI8:
=IF(AND(AI$4>=$X8,OR(ISBLANK($AH8),AI$5<=$AH8)),IF(AND(NOT(ISBLANK($AA8)),AI$4>=$AA8),$AC8/12,$Z8/12),0)
It fails on a couple of fronts:
1. Trying to factor in the Leave of Absences so that Columns AI to AT reflect a reduced salary during the period of the leave of absence.
2. Trying to get the prorata salary to be paid in any partial month where a change occurs (ie new hire / salary increase / leave of absence / termination). (Right now I am only getting a salary amount where an employee works the full month.)
I have attached my HTML version of my worksheet. Hopefully I have done this correctly.
I’m not sure if this too complex a question but any help would be appreciated.


Excel Workbook
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1
2
3283130313031313031303131283130
41-Feb-111-Mar-111-Apr-111-May-111-Jun-111-Jul-111-Aug-111-Sep-111-Oct-111-Nov-111-Dec-111-Jan-121-Feb-121-Mar-121-Apr-12
528-Feb-1131-Mar-1130-Apr-1131-May-1130-Jun-1131-Jul-1131-Aug-1130-Sep-1131-Oct-1130-Nov-1131-Dec-1131-Jan-1228-Feb-1231-Mar-1230-Apr-12
6
7IDFirst NameMiddleLastTitleLocationFull/PartReg/TempEmployee StatusPer StatusUnitDeptIDDescrAnnual RtCurrencySupv IDNameCountryHire DateRehire DtCompany DtService DtTERMINATION DT + 1Start DatePermanent Non-FT %Annual Salary Base CurrencySalary Increase - Effective DateSalary Increase - New Annual Salary Base CurrencySalary Increase - New Annual Salary Base Currency - Non-FT % AdjustedLeave of Absence - StartLeave of Absence - ReturnSalary % During Leave of AbsenceSalary During Leave of AbsenceTerm Date - "Enter Here"FebMarAprMayJunJulAugSepOctNovDecJanFebMarApr
863000CAD10/15/200210/15/200210/15/200215-Oct-0280%50,4001-Apr-1164,26051,40816-May-1116-Jul-1150%32,13015-Nov-114,200.004,200.004,284.004,284.004,284.004,284.004,284.004,284.004,284.00------
945000CAD12/1/20036/12/20065/11/19985/11/199812-Jun-0645,0001-Apr-1145,90045,90016-May-1116-Jul-1150%22,95015-Nov-113,750.003,750.003,825.003,825.003,825.003,825.003,825.003,825.003,825.00------
1048000CAD3/5/20113/5/20113/5/20115-Mar-1148,0001-Apr-1148,96048,9600%---4,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.00
Base Salary only
Excel Workbook
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1
2
3283130313031313031303131283130
41-Feb-111-Mar-111-Apr-111-May-111-Jun-111-Jul-111-Aug-111-Sep-111-Oct-111-Nov-111-Dec-111-Jan-121-Feb-121-Mar-121-Apr-12
528-Feb-1131-Mar-1130-Apr-1131-May-1130-Jun-1131-Jul-1131-Aug-1130-Sep-1131-Oct-1130-Nov-1131-Dec-1131-Jan-1228-Feb-1231-Mar-1230-Apr-12
6
7IDFirst NameMiddleLastTitleLocationFull/PartReg/TempEmployee StatusPer StatusUnitDeptIDDescrAnnual RtCurrencySupv IDNameCountryHire DateRehire DtCompany DtService DtTERMINATION DT + 1Start DatePermanent Non-FT %Annual Salary Base CurrencySalary Increase - Effective DateSalary Increase - New Annual Salary Base CurrencySalary Increase - New Annual Salary Base Currency - Non-FT % AdjustedLeave of Absence - StartLeave of Absence - ReturnSalary % During Leave of AbsenceSalary During Leave of AbsenceTerm Date - "Enter Here"FebMarAprMayJunJulAugSepOctNovDecJanFebMarApr
863000CAD10/15/200210/15/200210/15/200215-Oct-0280%50,4001-Apr-1164,26051,40816-May-1116-Jul-1150%32,13015-Nov-114,200.004,200.004,284.004,284.004,284.004,284.004,284.004,284.004,284.00------
945000CAD12/1/20036/12/20065/11/19985/11/199812-Jun-0645,0001-Apr-1145,90045,90016-May-1116-Jul-1150%22,95015-Nov-113,750.003,750.003,825.003,825.003,825.003,825.003,825.003,825.003,825.00------
1048000CAD3/5/20113/5/20113/5/20115-Mar-1148,0001-Apr-1148,96048,9600%---4,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.004,080.00
Base Salary only
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Sorry - forgot to add that I am using Excel 2007 on a Windows XP pc. Excel 2007 version appears to be release 12.0.


<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=293 border=0><COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><COL style="WIDTH: 124pt; mso-width-source: userset; mso-width-alt: 6034" width=165><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 48pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" width=64 height=20>INFO</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 48pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" width=64>release</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 124pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" width=165>12.0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20>INFO</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">osversion</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">Windows (32-bit) NT 5.01</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20>INFO</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">system</TD><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">pcdos</TD></TR></TBODY></TABLE>
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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