SUMIF with 2 conditions

aufantastic

New Member
Joined
Sep 8, 2008
Messages
10
I want to calculate a sumif statement in a spreadsheet but I want to have two sets of conditions. It must match what is in one cell and then another. Can you help?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hello

Could you please be more specific (i.e. ranges and criteria).

As an example:

=SUMPRODUCT(--(A10:100=A1),--(B10:B100=B1),C1:C100)

Where the criteria are in A1 and B1, and the sum range in column C

Note, unless using versions later than (and incl.) 2007 do not use whole columns (so no C:C).
 
Upvote 0
I still need help guys. Sorry, I guess I am confused.

I have one column with up to 28 different values in it.

I have a second column with only 2 different values in it.

I will need to end up with 56 different totals based on each of the 28 restaurants with up to 2 different rates.

That is what I am trying to do.

Thanks, Tim
 
Upvote 0
sounds like you could use pivot table
with column a in the rows and column b in the data

HTH
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top