Delete selective output from SUMIFS formula?

phillimm

New Member
Joined
Jan 21, 2019
Messages
2
I am trying to get the sum quantity of the items both unique and duplicates but with only one output. I've attached my spreadsheet for review, but in case here is what I have.
A B C
ID Key Item Quantity
Mickey wand 6
Minnie shoes 6
Minnie shoes 1
Donald shirt 8
Pluto collar 6
Chip bow 1
Chip bow 4
Chip nuts 1
Dale nuts 2
Daisy bracelet 8
Daisy bracelet 6

In column D (Quantity Adjusted) I have: =SUMIFS(C2:C12,B2:B12,B2,A2:A12,A2). It gives me an output, but what I desire as an output is slightly different and that is where I'm stuck. Here is what I get on the left, and what I desire on the right.

Get Want
6 6
7 7
1
8 8
6 6
5 5
4
1 1
2 2
14 14
6

Any help on this would be much appreciated.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I am trying to get the sum quantity of the items both unique and duplicates but with only one output. I've attached my spreadsheet for review, but in case here is what I have.
A B C
ID Key Item Quantity
Mickey wand 6
Minnie shoes 6
Minnie shoes 1
Donald shirt 8
Pluto collar 6
Chip bow 1
Chip bow 4
Chip nuts 1
Dale nuts 2
Daisy bracelet 8
Daisy bracelet 6

In column D (Quantity Adjusted) I have: =SUMIFS(C2:C12,B2:B12,B2,A2:A12,A2). It gives me an output, but what I desire as an output is slightly different and that is where I'm stuck. Here is what I get on the left, and what I desire on the right.

Get Want
6 6
7 7
1
8 8
6 6
5 5
4
1 1
2 2
14 14
6

Any help on this would be much appreciated.

Solved. Here is my fix formula:

=IF(A2=A1,"",SUMIFS(C:C,A:A,A2,B:B,B2))
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,274
Members
452,628
Latest member
dd2

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