Hi everyone,
I'm trying to calculate how much resource is required across multiple teams based on billed hours.
For this example I have 3 teams that work on 3 clients. I'm using estimates to determine what hours are required for each client/team. So Team A would typically action 44% of the hours, Team B 25% and Team C 31%.
However some clients might not need every team, Team C might not actually work on client C. Those hours would then need to be allocated to the other teams, as the client is still paying for those hours so they need actioning. I've got a column to basically say whether a team is required and have "yes" or "no" states. The idea would be that if a team has a "no" state, then it's hours are split across the other team. The tricky bit is I would need those hours split based on the ratios I have above, so Team A would get more of those hours than Team C as Team A.
I've tried to use IF statements to get this working, by multiplying Team C's percentage by Team A's percentage to get Team A's share of the hours, which are then added to Team A's hours.
=IF(C2="no",0,(IF(C2="yes",0.44,0%)+IF(F2="no",0.44*0.25,0))+IF(I2="no",0.44*0.31,0))
The issue I've run into is when two teams (Team B and C) are not required the hours are still being shared across two teams (Team A and Team B) rather than the 1 remaining team with "Yes" (Team A) whereas I want the other team to affectively have 100% of the hours, however what I have currently is not doing this. I could get this working using a long list of IF statements but I can't imagine this is the most efficient way of doing it and doesn't upscale well if I want to add more teams in the future.
Is there a better way to do this?
Thanks
Chris
Bookmarks