Summing up a column excluding a number

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,046
I am sure this needs to be an array function but am struggling with how it should be created.

I want to sum a range E10 to U10 I want to add up all figures excluding any occurences of the figure 20. ie

10
20
35
15
20
12

Should then equal 72

Would someone be able to help me please ?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Boller

Banned
Joined
Apr 11, 2006
Messages
2,328
=SUMIF(E10:U10,"<>20")

(Note : Your post heading reads "Summing up a column ...", but your sample data in your post is in one row.)
 
Upvote 0

Forum statistics

Threads
1,190,913
Messages
5,983,538
Members
439,848
Latest member
timmyo

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
Top