I am building a cash-flow spreadsheet covering a 104-week period and I'm having trouble with the payroll portion.
Assumption: the first week will start on the first day of a month but the starting month is unknown.
Assumption: payroll needs to be the 15th and the last day of each month.
Assumption: not all employees will start the same week (but in my example below, some employees started week 1, but no others have yet started)
I've constructed a column that calculates a weekly payroll for each week 1-104 and it handles, dynamically, addition of new employees in later weeks after week 1. Now, however, I want the spreadsheet to show cashflow impact only in the weeks that contain the 15th of each month and the last day of each month.
For example, assuming weekly pay I now have:
Week Payroll Cost
1 16019.23
2 16019.23
3 16019.23
4 16019.23
5 16019.23
6 16019.23
Assuming that the 15th of the first month falls in week 3 and the last day of the month is, say, the 31st, I'd want the spreadsheet to return a result reflecting the correct semi-monthly cost in the correct weeks like this:
Week Payroll Payout
1 0
2 0
3 34708.33
4 0
5 34708.33
6 0
etc.
Since the length of months vary, how do I ensure the semi-monthly payroll hits on the correct week numbers without losing the dynamic property of being able to accommodate varied start weeks for additional employees?
Any help you might be able to offer is greatly appreciated!
*Shane
Shane Patrick Connolly
shanepc1@yahoo.com
Assumption: the first week will start on the first day of a month but the starting month is unknown.
Assumption: payroll needs to be the 15th and the last day of each month.
Assumption: not all employees will start the same week (but in my example below, some employees started week 1, but no others have yet started)
I've constructed a column that calculates a weekly payroll for each week 1-104 and it handles, dynamically, addition of new employees in later weeks after week 1. Now, however, I want the spreadsheet to show cashflow impact only in the weeks that contain the 15th of each month and the last day of each month.
For example, assuming weekly pay I now have:
Week Payroll Cost
1 16019.23
2 16019.23
3 16019.23
4 16019.23
5 16019.23
6 16019.23
Assuming that the 15th of the first month falls in week 3 and the last day of the month is, say, the 31st, I'd want the spreadsheet to return a result reflecting the correct semi-monthly cost in the correct weeks like this:
Week Payroll Payout
1 0
2 0
3 34708.33
4 0
5 34708.33
6 0
etc.
Since the length of months vary, how do I ensure the semi-monthly payroll hits on the correct week numbers without losing the dynamic property of being able to accommodate varied start weeks for additional employees?
Any help you might be able to offer is greatly appreciated!
*Shane
Shane Patrick Connolly
shanepc1@yahoo.com