Autofilter using dynamic array with filtersets

sekar

New Member
Joined
Feb 2, 2009
Messages
36
Office Version
  1. 2010
Platform
  1. Windows
Hi.,
i have the following set of filter range.
Laminte
F322_Baker-11065_SF
11065_SF-11065_SF
11065_SF-21091_SF
F322_Baker-25879_SF
25879_SF-25879_SF
25879_SF-21091_SF
F322_Baker-45693_SF
45693_SF-45693_SF
45693_SF-21091_SF
each line represent the materials F322_backer is one mateiral, 11065_SF is another material. the range is the combination of the materials.
1. The range might not be in this order, but it has to be grouped like this. preference of order is not necessary.

i.e starting with F322_baker - with any other material (ex:11065_SF or 25879_SF)
2. the combination of same material (i,.e other mateiral - 11065_SF) done in the first point (like this: 11065_SF-11065_SF)
3. Other material (11065_SF) with any other material 1(21091_SF) present, if more than any other material 2 then Other material (11065_SF) with any other material 2

once this has been ordered, want to first create a filter set based on each group
Group1
F322_Baker-11065_SF
11065_SF-11065_SF
11065_SF-21091_SF

Group 2
F322_Baker-25879_SF
25879_SF-25879_SF
25879_SF-21091_SF

Group 3
F322_Baker-45693_SF
45693_SF-45693_SF
45693_SF-21091_SF

After filter set is created, each filterset is applied for autofilter and the values are copied. to a sheet.
can any one help on this
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
i.e starting with F322_baker
So, in the result, each group always begin with "F322_baker"?
1. The range might not be in this order, but it has to be grouped like this. preference of order is not necessary.
How do you mean? data could be in any order? for example like this:
11065_SF-11065_SF
11065_SF-21091_SF
25879_SF-21091_SF
25879_SF-25879_SF
45693_SF-21091_SF
45693_SF-45693_SF
F322_Baker-11065_SF
F322_Baker-25879_SF
F322_Baker-45693_SF

3. Your example make it looks like you just want to create groups with just 1 criteria which is begin with "F322_baker". Could you provide a more representative example to show what the problem is?
 
Upvote 0
hi @Akuini

So, in the result, each group always begin with "F322_baker"?
Yes

How do you mean? data could be in any order? for example like this:
Yes

3. Your example make it looks like you just want to create groups with just 1 criteria which is begin with "F322_baker". Could you provide a more representative example to show what the problem is?
i.e starting with F322_baker - with any other material (ex:11065_SF or 25879_SF)
2. the combination of same material (i,.e other mateiral - 11065_SF) done in the first point (like this: 11065_SF-11065_SF)
3. Other material (11065_SF) with any other material 1(21091_SF) present, if more than any other material 2 then Other material (11065_SF) with any other material 2
we have multiple laminates in the data. each board is finished with two laminates (F322 baker, 11065_SF,21091_SF,25879_SF,45693_SF, etc.,)

The data has to be ordered for each finish or laminates. Hope you can understand better now.
So the criteria is to filter out for example referring the below image , first one finish ex: 21003 HGL,

Group 1 ( Filtered Set 1)
First criteria., (considering the material is 21003_HGL)
starting with F322_baker -21003 HGL

second criteria.,

the combination of same material use in the first criteria, (i,.e :21003 HGL_:21003 HGL)

Third Criteria.,
21003_HGL -3701 SLG

LIke wise for each group ( filtered set) each material is used in the above three criteria


1717160674945.png
 
Upvote 0
i have the following set of filter range.
So, the example in post 1 is a filtered range?

I still don't understand your data, the example in the last post is more complicated. Could you please upload a sample workbook to a file-sharing site like Dropbox or Google Drive and share the link here? Also, ensure that the link is accessible to anyone. If there is sensitive data, please replace it with representative dummy data. And please also provide the expected results.
 
Upvote 0
hi.,
i had uploaded the file over here


The first sheet is named as Full List with reference column Laminate Code (column I), where finishes are mentioned.

You can refer these sheets
1717231450755.png


If you refer 3582 SLG Sheet,

the first set of data is F322 Baker / 3582 SLG (18 mm thk)
the second set is F322 Baker / 3582 SLG (3.5mm Thick),
the third set is 3582 SLG /3582 SLG (18mm thk)
the fourth set is 3582 SLG /3582 SLG (27mm thk)

The data is in the Sheet Named Full List, rest of the sheets are output by filtering the sets from the data sheet.

Hope now it is clear.
If you have any queries let me know.
1717231499129.png


1717231517972.png
 
Upvote 0
I have downloaded your workbook. Regrettably, I am still unable to comprehend your data and your requirements, as it appears to be more intricate than I initially anticipated. Therefore, I will step back from this thread, and I hope someone else may be able to assist you.🙏
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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