AdvancedFilter Unique=True

jknapp

New Member
Joined
Jun 17, 2009
Messages
1
I'm having a problem with a very good macro in the VBA and Macros Excel 2007 book. For the macro on pages 272 and 273 I'm using the advanced filter. It is supposed to be filtering for unique names in a range. However, with certain names the reports that are generated are getting lumped together. An example would be reports for departments "Test" "Test2" and "Test3". Test2 and Test3 will generate unique reports. But Test will have all three of them together. I can rename all the departments, or I can figure out a way to have the "Unique:=True" choose only exactly what I want.

What criteria would I use, and how would I write that?

Thanks,
jknapp
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
The Unique parameter is either True or False. No other options are possible. Your best bet is probably to add an additional grouping column that amalgamates the three 'Test' entries under a single group name.
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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