SUMIF With Multiple Categories

  • Thread starter Thread starter jeffrothbart
  • Start date Start date
J

jeffrothbart

I would like to create a =SUMIF equation that requires two variables to
be true (rather than just one) before it sums. Is this possible.

I have tried to use the =SUMIF(AND()) type equations but cannot get the
calculation to work. Any suggestions?
 
Your 2 variables can be in 2 separate columns, with the totaling data in a
3rd:

=SUMPRODUCT((A1:A50="variable1")*(B1:B50="variable2")*C1:C50)

They could also be in the *same* column.

Just remember to keep *all* ranges the same size, and don't use absolute
column references (A:A).
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 

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

SUMIFS Issue 5
subtotal with sumif nested 1
sumifs, sumif with dates 6
SUMIF with criteria "<>" & "=" 4
SumIf 7
Combine Sumif and Countif 3
SUMIFs across multiple sheets 7
SumifS Multiple Sum Ranges 2

Back
Top