Sumif

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Is there a way to use SUMIF to add a range? I would like
to be able to search for "CAR" in row 1, and if it finds
it, add all of the values in the columns A2:K10. Here is
my formula.

=SUMIF(A1:K1,"CAR",A2:K10)


TIA
 
Is there a way to adjust this to add the whole range
instead of just the row? Or do I have to continue for
this formula for every row? I have about 100 rows, is
there a limit to how many SUMIF's I can use?


TIA
 
You can add the whole range:

=SUM((A1:K1="car")*(A2:K101))

This formula must be array-entered (CTRL-SHIFT-ENTER or CMD-RETURN).
 

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

Similar Threads

sumif 9
Adding to a formula thru out a worksheet 2
SUMIF, use List as a Range 2
Filtering with SUMIFS 1
sumifs problem 1
Sumif & Sort 3
Sumif? ... Unexpected Results? 3
Conditional Format? 4

Back
Top