Grouping Sizes in Excel

gemmavine

New Member
Joined
Oct 28, 2010
Messages
47
Hi

I was wondering if anyone knows a quicker way of doing this...
I have an excel spreadsheet with lots of product codes in column a, description in b, and qty in c some are just individual items ie. soapbar, however, other items have sizes i.e trousers, coats, jackets. Is there a quick way of grouping all the sizes together. At the moment I am having to manually do it.

e.g.
SOAPBAR 1
TRSYM 10
TRSYL 3
BLEACH 4
STAPLES 6
JACKETM 1
JACKETXL 2


I would like the spreadsheet to look like this;
SOAPBAR 1
TRSY 13
BLEACH 4
STAPLES 6
JACKET 3

This would make life a lot easier as I am dealing with thousands of records.
Thanks

Gemma
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Let's assume your products column is named Products, and your quantity column is named Quantity.

If you'll create your list of items without the sizes starting at E2, then in F2, you can enter: =SUMIF(Products, E2 & "*", Quantity)
Copy down, and voila!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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