New comer :-) Grouping question

garg29

New Member
Joined
Mar 29, 2013
Messages
2
Good Morning everybody, this is my first post in this forum, hope I'll be able to express myself properly.

I'm trying to make a excel sheet with following features:
There are lets say 3 groups, each group having particular Items with different quantities (there can be common items) see the following:-
Item11
Group1Item25
Item38
Item42
Group2Item21
Item34
Item77
Item56
Item61
Item14
Group3Item510
Item37

<tbody>
</tbody>

Now there are different products using these groups with different quantities, lets say:-

Group1 * 2
Product 1Group2 * 3
Group3 * 1
Product 2Group2 * 7
Group3 * 5
Group1 * 5
Product 3Group3 * 2

<tbody>
</tbody>

Now I want a common list to be generated of "Items" used & their quantities.



Quantities
Item1
Item2
Item3
Item4
Item5
Item6
Item7

<colgroup><col width="96" span="2" style="width:72pt"> </colgroup><tbody>
</tbody>

Please help me out. Thanks.

with best regards.
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hey Garg, Welcome. I'm pretty new her too, and have learned a lot from reading other's responses. But ya need to give people a chance to reply. Most people sleep between midnight and 8:00.

With that said, look into the sumif() function. ie, the total of "Item1" would be =sumif(c1:c25,"Item1",d1:d25) Of course, you may need to modify your ranges.

Hopefully this helps.
 
Upvote 0
So..........is there no one who could put up some light on my problem

Let A1:D100 on Sheet1 house the data of interest with the first row housing the headers.

A2, Sheet2, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX(Sheet1!$C$2:$C$100,
  SMALL(IF(IF(FREQUENCY(IF(Sheet1!$C$2:$C$100<>"",
  MATCH("~"&Sheet1!$C$2:$C$100,Sheet1!$C$2:$C$100&"",0)),
  ROW(Sheet1!$C$2:$C$100)-ROW(Sheet1!$C$2)+1),1),
  ROW(Sheet1!$C$2:$C$100)-ROW(Sheet1!$C$2)+1),
  ROWS(A$2:$A2))),"")

B2, just enter and copy down:
Rich (BB code):
=SUMIF(Sheet1!$C$2:$C$100,$A2,Sheet1!$D$2:$D$100)
[/code]
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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