peterman25
New Member
- Joined
- Jul 6, 2016
- Messages
- 11
My challenge is that I am trying to subtotal all of the hours worked by unique category/cost center. I've been trying to get it to work with SUMIFS and/or VLOOKUPS, etc. and continue to struggle.
In my timesheet the cost centers are all chosen by a dropdown. There's approximately a dozen different departments an employee could be assigned to and chosen in that dropdown. They typically work the same departments for the week, but it is entirely possible to work in 3-6 different departments during the week and then work in entirely different departments the following week. And then add on top of that any type of leave category chosen or something like OT.
As you can see, the original design has a TOTAL HOURS column, but that is just a formula that assumes that the rows/cost centers don't change from week to week.
Does this need to be handled in multiple columns with multiple formulas? I can use the UNIQUE function to get my unique cost centers, but even that requires more columns because the range is broken into 2 ranges with a blank line and a first week total hours line in the way. My ultimate goal would be to have it list and subtotal the UNIQUE cost centers in one column.
Any help is greatly appreciated. Thank you.
In my timesheet the cost centers are all chosen by a dropdown. There's approximately a dozen different departments an employee could be assigned to and chosen in that dropdown. They typically work the same departments for the week, but it is entirely possible to work in 3-6 different departments during the week and then work in entirely different departments the following week. And then add on top of that any type of leave category chosen or something like OT.
As you can see, the original design has a TOTAL HOURS column, but that is just a formula that assumes that the rows/cost centers don't change from week to week.
Does this need to be handled in multiple columns with multiple formulas? I can use the UNIQUE function to get my unique cost centers, but even that requires more columns because the range is broken into 2 ranges with a blank line and a first week total hours line in the way. My ultimate goal would be to have it list and subtotal the UNIQUE cost centers in one column.
Any help is greatly appreciated. Thank you.