Excel Formula - Calculating Total Percentage

0 votes

I'm attempting to determine the overall completion percentage of 24 distinct tasks, each of which may have a different maximum value.

The maximum value for each activity in columns C and D is always 175; thus, I take that value and divide it by cell H1. I then use the following calculation to determine the overall percentage of column C that has been completed:

=(SUM(C2:C13)+SUM(C15:C26))/((COUNTA(C2:C13)*$I$1)+(COUNTA(C15:C26)*$I$1))

This also applies to those columns. The overall proportion of columns E and F that have been finished is where I am encountering issues. The maximum amount is inconsistent, unlike in the previous example. I can figure out the percentage of each task completed, but I can't get the total percentage to work or figure out the right total.

I have tried using a SWITCH but this does not work:

=(SUM(E2:E13)+SUM(E15:E26))/((COUNTA(E2:E13)*SWITCH(G2,"W9",$I$2,"W10",$I$3,"W11",$I$4))+(COUNTA(E15:E26)*SWITCH(G2,"W9",$I$2,"W10",$I$3,"W12",$I$5)))

I have put a copy of the spreadsheet in a Google Drive if that would help: https://drive.google.com/file/d/1p8JOMWqYDPaRwYy1AQ3X1jxTHAmigYIW/view?usp=sharing

Would anyone be able to share how to get this formula working?

Dec 28, 2022 in Others by Kithuzzz
• 38,000 points
618 views

1 answer to this question.

0 votes

You just need the AVERAGE of all the percentages.

=AVERAGE(F2:F26)

This will work for column D.

answered Dec 28, 2022 by narikkadan
• 86,360 points

Related Questions In Others

0 votes
1 answer

Excel Formula calculating the starting date of a given calendar week

The number of days to take into ...READ MORE

answered Dec 10, 2022 in Others by narikkadan
• 86,360 points
1,073 views
0 votes
2 answers

How to copy a formula horizontally within a table using Excel VBA?

Hi so basically, create an adjacent column ...READ MORE

answered Feb 16, 2022 in Others by Edureka
• 13,690 points
1,447 views
0 votes
0 answers

MS Excel - SumProduct formula with Loop

1 I have 4 arrays of data where ...READ MORE

Feb 18, 2022 in Others by Edureka
• 13,690 points
603 views