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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,214,849
Messages
6,121,925
Members
449,056
Latest member
denissimo

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