summing data in multiple columns

B

brad1824

I'm looking for a formula to lookup criteria in column A and add the results
in columns B, C, D, E, etc.

For example I would like to know the sum of how many "CATS" have been sold
in a given year and I will be adding addtional months as time progresses and
do not want to have to adjust my range or formula each time a new months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad
 
M

Mike H

Hi,

Try this

=SUMPRODUCT((A1:A200="Dogs")*(B1:E200))

It doesn't matter if the lower part of the range are empty
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
B

brad1824

Mike,

I tried this formula (I put it in cell G1) and I got back #VALUE!

Am I missing an add-in perhaps? any ideas?

Thanks.

Brad
 

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