Sumif function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to do what the sumif function does, but I would like to do a sum on what comes back in. For example, I want have a dept number on one sheet. The other sheet has various depts listed in column A, January $s in column B, and February $s in column C. I do the sumif function on the first sheet and can bring in January $s from the second sheet. But what I really want to do is to bring the sum of columns B and C

Anyone have any thoughts? Maybe a different function
Thanks!
 
Hi
why not add to SUMIFs?
=SUMIF(A1:A100,"January",B1:B100)+SUMIF(A1:A100,"January",C1:C100)
 
why not add to SUMIFs?
=SUMIF(A1:A100,"January",B1:B100)+SUMIF(A1:A100,"January",C1:C100)
...

Why bother?

=SUMPRODUCT(--(A1:A100="whatever"),B1:C100)

would work using a single function call.
 

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

Using SUMIF with dates 11
SUMIFs across multiple sheets 7
nesting sumif functions 5
SUMIF with criteria "<>" & "=" 4
subtotal with sumif nested 1
SUMIF with Multiple Criteria 4
sumif functions 4
Sumifs (I think) 5

Back
Top