To calculate the Gross Profit per hour achieved by a Supervisor I use this formula and achieve the correct answer
=(SUMIF(Supervisor:Supervisor, "John Smith", AGP:AGP)) / (SUMIF(Supervisor:Supervisor, "John Smith", [A_Labour Hrs.]:[A_Labour Hrs.]))
AGP refers to the Gross Profit and [A_Labour_Hrs.] to actual hours.
I now want to add to the results for this supervisor 1/3 of the profit by the supervisor "Shared" - but this formula is throwing up an incorrect answer.
=(SUMIF(Supervisor:Supervisor, "John Smith", AGP:AGP))+(0.33*(SUMIF(Supervisor:Supervisor, "Shared", AGP:AGP)) / ((SUMIF(Supervisor:Supervisor, "John Smith", [A_Labour Hrs.]:[A_Labour Hrs.])+0.33*(SUMIF(Supervisor:Supervisor, "Shared", [A_Labour Hrs.]:[A_Labour Hrs.]))
As always, thank you in advance for the assistance provided