SUMIF Exclude Certain Cell

S

Steph

I would like to write a formula that sums the values in cells A1:A5 while
excluding the value in cell A3 only.

For example:

A1 = 2
A2 = 6
A3 = 6
A4 = 2
A5 = 2

The formula would return 12. If the value in A3 changes to 10, the formula
would still return 12.

Thanks again for your help. And thanks to those who helped me with my
earlier post.
 
S

Stan Brown

Sat, 23 Feb 2008 08:39:01 -0800 from Steph
I would like to write a formula that sums the values in cells A1:A5 while
excluding the value in cell A3 only.

=sum(A1:A5)-A3

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
A: Maybe because some people are too annoyed by top posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top posting such a bad thing?
 
R

Ron Rosenfeld

I would like to write a formula that sums the values in cells A1:A5 while
excluding the value in cell A3 only.

For example:

A1 = 2
A2 = 6
A3 = 6
A4 = 2
A5 = 2

The formula would return 12. If the value in A3 changes to 10, the formula
would still return 12.

Thanks again for your help. And thanks to those who helped me with my
earlier post.


=a1+a2+a4+a5

--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top