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.
 
Back
Top