Sorry, I couldn't think of a better title. I have a spreadsheet with payroll costs by department by week. I've developed a monthly report which requires manual manipulation of some data - specifically, if the payroll week goes between months, only a portion should be allocated to a specific month (e.g. if there's a weekly payroll ending 2/3/2011, you take the payroll cost for the week, divide it by 7 and multiply that number by 4 or 3 for the allocations to January and February, respectively) - but I'd like to know if it's possible to have Excel do all of this work automatically. I'd like to both reduce the potential for error and increase the speed in which these reports can be generated each month.
I've attached a spreadsheet showing how the data is organized and a demonstration of the problem.
Thank you.
Adam
Bookmarks