How To Create Multiple Sheets(With Criteria) From One Sheet?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
531
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I do have a sample data set across A1:E20 as follows in the Sheet Name:-DUMP. Rows in this column could go upto 30000.
1719850325257.png

DUMP is the input sheet based on which multiple sheets need to be created.
In this scenario there are 2 unique count of categories namely FMCG & Staples.
So 2 different sheets need to be created with name of FMCG & Staples.
Sheet number will depend on the Unique count of categories under Column A in DUMP sheet and accordingly the sheet names will also be created.
Now under each sheet, that will be created from Column A, the summary in the different sheets would be as follows.
FMCG sheet should have the summary as follows:-
1719850550624.png


SKU should be sorted based on the total aggregated qty on descending mode as shown above.
Similarly Staples sheet summary should also be as follows:-
1719850754620.png

The tasks will be as follows:-
1)Creation of "N" number of sheets based on the Unique Count of Categories under Column A under DUMP sheet.
2)Sheet name would be based on the Category type mentioned in the Column A of DUMP sheet.
3) Every created sheet needs to contain a summary as shown above.
4)SKU needs to be sorted based on the total aggregated qty in descending mode.

Please help.
This would save substantial manual time being wasted now.
Regards
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I know this is not what you asked but why not use pivot tables to show the data, add a slicer/ filter to display each Category as needed
Book1
ABCDEFGHIJKLMNOPQ
1CatStoreSKUSKU Desc.Qty
2FMCG133975a18
3FMCG129018b23Sum of QtyStore
4FMCG114414c21SKUSKU Desc.1234Grand Total
5FMCG113696d4033975a44
6FMCG112709e2113696d122133
7FMCG221080x1512709e2626
8FMCG214362y3014362y113344
9FMCG215942z524859f3636
10FMCG330908s3835643g3838
11FMCG313696d429494t3939
12FMCG433975a3219422u1010
13FMCG429018b540017i44
14FMCG424859f40Grand Total543210840234
15FMCG435643g27
16FMCG424844h35
17FMCG128385j5
18Staples135643g38
19Staples113696d12
20Staples133975a4
21Staples312709e26
22Staples329494t39
23Staples314362y33
24Staples319422u10
25Staples440017i4
26Staples424859f36
27Staples213696d21
28Staples214362y11
DUMP
 
Upvote 0

Forum statistics

Threads
1,224,809
Messages
6,181,076
Members
453,020
Latest member
mattg2448

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