Adding percentages that are produced by formulas

28creation

Board Regular
Joined
Oct 13, 2014
Messages
124
I can't believe you can't just add percentages with the usual =SUM(A1:A10) formula!!!

The percentages I want to add are all created by formulas, not typed into the cell itself. The total percentage at the bottom of the page is adding up the individual weightings from a number of entries.

How can this be done please?

Thanks in advance.
 
Shouldn't you multiply the columns?


Excel 2010
OPQR
8EXCEEDING20%OUTSTANDING25%
9
10
11
12
13118%68%
14114%64%
15
16
1705%14%
18
19
20
21
2218%26%
23PASS10%DEV5%
24DEV5%FAIL0%
25
261.40.9
Sheet11
Cell Formulas
RangeFormula
P26=SUMPRODUCT(O13:O22,P13:P22)
R26=SUMPRODUCT(Q13:Q22,R13:R22)
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I don't understand why some of this works & some it doesn't....

If I do =SUM(P8:P9,P11:P15,P17:P18,P22:P24) or =SUMPRODUCT(P8:P9,P11:P15,P17:P18,P22:P24), they bring back the same results.

The same with =SUM(P8:P24) & =SUMPRODUCT(P8:P24). Doesn't matter if there are empty cells in there.

Some of the cells get added up & others don't. Very strange.

Any help is much appreciated.
 
Upvote 0
=SUM(P8:P9,P11:P15,P17:P18,P22:P24) or =SUMPRODUCT(P8:P9,P11:P15,P17:P18,P22:P24), they bring back the same results.

Not when I try it:


Excel 2010
OPQR
1
2
3
4
5
6
7
8EXCEEDING20%OUTSTANDING25%
9
10
11
12
13118%68%
14114%64%
15
16
1705%14%
18
19
20
21
2218%26%
23PASS10%DEV5%
24DEV5%FAIL0%
25
2660%#VALUE!
Sheet11
Cell Formulas
RangeFormula
P26=SUM(P8:P9,P11:P15,P17:P18,P22:P24)
Q26=SUMPRODUCT(P8:P9,P11:P15,P17:P18,P22:P24)


The same with =SUM(P8:P24) & =SUMPRODUCT(P8:P24)

Yes, it's a single column, you're not multiplying by anything, just adding
 
Upvote 0
I'm trying to work out how to paste the cells so you can see what I mean but it won't let me.

The cells that aren't getting added up have these formulas:

=IF(O8="","",IF(O8="OUTSTANDING","25%",(IF(O8="EXCEEDING","20%",(IF(O8="ACHIEVING","15%",(IF(O8="DEVELOPING","10%",(IF(O8="UNACCEPTABLE","5%"))))))))))

=IF(O13="","",(IF(O13>=12,"10%",(IF(O13=5,"8%",(IF(O13=6,"8%",(IF(O13=7,"8%",(IF(O13=8,"8%",(IF(O13=9,"8%",(IF(O13=10,"8%",(IF(O13=11,"8%",(IF(O13=4,"6%",(IF(O13=2,"4%",(IF(O13=3,"4%",(IF(O13=0,"2%",(IF(O13=1,"2%")))))))))))))))))))))))))))

=IF(O14="","",(IF(O14>=12,"5%",(IF(O14=5,"4%",(IF(O14=6,"4%",(IF(O14=7,"4%",(IF(O14=8,"4%",(IF(O14=9,"4%",(IF(O14=10,"4%",(IF(O14=11,"4%",(IF(O14=4,"3%",(IF(O14=2,"2%",(IF(O14=3,"2%",(IF(O14=0,"1%",(IF(O14=1,"1%")))))))))))))))))))))))))))

=IF(O22="","",(IF(O22=0,"10%",(IF(O22=1,"8%",(IF(O22=2,"6%",(IF(O22=3,"6%",(IF(O22=4,"6%",(IF(O22=5,"6%",(IF(O22=6,"4%",(IF(O22=7,"4%",(IF(O22=8,"4%",(IF(O22=9,"4%",(IF(O22=10,"4%",(IF(O22>=11,"2%",)))))))))))))))))))))))))

=IF(O23="","",IF(O23="PASS","10%",(IF(O23="DEV","5%",(IF(O23="FAIL","0%"))))))

=IF(O24="","",IF(O24="PASS","10%",(IF(O24="DEV","5%",(IF(O24="FAIL","0%"))))))
 
Upvote 0
I am no expert, but the way those formulas give you a percentage is not a number it is text, you have each percentage value surrounded by quotes. So the SUM or any formula won't work because those values are treated as text and not numeric.

You can try and change those to numeric values by removing the quotes, then your SUM formula should work.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top