Hello,
Thank you in advance for anyone with advice. I've spent all day trying many different ways to tackle this and it's now 2am and I'm totally lost. My attempt at explaining myself below:
TEAM Sheet - This is a simplified version of how I plan which projects my team is working on, any given week. The numbers represent how many working days they have that week, and the colours represent the different projects they are working on. This sheet feeds into something bigger that i use for resource planning and is currently working for my needs so i can add to it, but cant change the data that's there too much (i.e. i can't change the numbers to letters)
MANAGER Sheet - Until now I've had one manager per department so haven't really had to manager the managers workload, but now i would like to see how many team members my managers are looking after in a given week per project, to see ahead of time if someone is overloaded.
I would like to change Project /Department in column B/C from a drop down, and then D<->S would populate number of coloured cells from those departments in each week.
I have a UDF that counts cells based on background colour. I can get it to sum an entire weeks column for one project. I can get it to sum an entire department for one project. But i can't figure out how to get it to consider both, and only give me the coloured cells if date in the header, and department match.
^ This formula gets me the right column, and the first row of the department, and will return a 1 if it's the right project colour, but I'm stuck on how to make it consider all the rows with the same department name.
should i be using offset formula to get the range instead? The spreadsheet i use is already very heavy, i use manual calculation and it takes about 5-10 seconds to finish calculating a sheet.
should i be trying to do this all in vba code and try expand on the count by cell colour adding conditions?
Totally understand if no one has time to fully solve this for me, very interested in any general ideas about how you'd approach it.
Thank you Thank you
Thank you in advance for anyone with advice. I've spent all day trying many different ways to tackle this and it's now 2am and I'm totally lost. My attempt at explaining myself below:
TEAM Sheet - This is a simplified version of how I plan which projects my team is working on, any given week. The numbers represent how many working days they have that week, and the colours represent the different projects they are working on. This sheet feeds into something bigger that i use for resource planning and is currently working for my needs so i can add to it, but cant change the data that's there too much (i.e. i can't change the numbers to letters)
4 |
MANAGER Sheet - Until now I've had one manager per department so haven't really had to manager the managers workload, but now i would like to see how many team members my managers are looking after in a given week per project, to see ahead of time if someone is overloaded.
I would like to change Project /Department in column B/C from a drop down, and then D<->S would populate number of coloured cells from those departments in each week.
I have a UDF that counts cells based on background colour. I can get it to sum an entire weeks column for one project. I can get it to sum an entire department for one project. But i can't figure out how to get it to consider both, and only give me the coloured cells if date in the header, and department match.
Excel Formula:
=SUMPRODUCT(--(ColorIndex(INDEX(TeamTable,MATCH(@departmentManagerTable,TeamTable[Department],0),MATCH(ManagerTable[[#Headers],[Mon 06 Sep 2021]],TeamTableHeader,0)))=ColorIndex([@Project])))
should i be using offset formula to get the range instead? The spreadsheet i use is already very heavy, i use manual calculation and it takes about 5-10 seconds to finish calculating a sheet.
should i be trying to do this all in vba code and try expand on the count by cell colour adding conditions?
Totally understand if no one has time to fully solve this for me, very interested in any general ideas about how you'd approach it.
Thank you Thank you