Sum Quantities Based on 3 Columns

tineyerin

New Member
Joined
Nov 11, 2015
Messages
2
I am trying to sum an inventory report which has the same product in different locations. The product is listed by product name and color.

Column A = Brand Name
Column B = Color
Column C = Quantity

Ex.
Brand A Red 5
Brand A Red 7
Brand A White 8
Brand A Green 9
Brand B Red 4
Brand B Red 2
Brand B Red 9

Is there a way to sum if Column A and B are the same in rows 1 and 2, so on and so forth?

Thanks!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Brand
Color
qty
a
red
5
a
a
red
7
red
a
white
8
a
green
9
b
red
4
b
red
2
b
red
9

<tbody>
</tbody>
Given this:
Code:
=SUMIFS(C2:C8,A2:A8,E2,B2:B8,E3)
 
Upvote 0
Since this is an inventory report with numerous brands and colors, this is a bit impractical.

Since I'm sorting alphabetically by column A and then column B, is there a way to sum when the values in column A change and then when the value in column B changes?
 
Upvote 0

Forum statistics

Threads
1,216,144
Messages
6,129,120
Members
449,488
Latest member
qh017

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