Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default SUMIF With Multiple Categories

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?

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(A1:A1000="value1"),--(B1:B100=number))


--
HTH

Bob Phillips

wrote in message
oups.com...
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?



  #3   Report Post  
RagDyer
 
Posts: n/a
Default

Your 2 variables can be in 2 separate columns, with the totaling data in a
3rd:

=SUMPRODUCT((A1:A50="variable1")*(B1:B50="variable 2")*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!
==============================================


wrote in message
oups.com...
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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 0 May 4th 05 02:46 PM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 2 May 3rd 05 01:23 AM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 0 April 29th 05 12:06 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM


All times are GMT +1. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"