PC Review


Reply
Thread Tools Rate Thread

how do i show non-unique records (duplicates) using advanced filte

 
 
Marty
Guest
Posts: n/a
 
      30th Dec 2008
i want to show the duplicates and hide the unique records. advanced filter
works great when selecting "unique records only", but i want the opposite
result. any ideas on how to accomplish this using the filter or VBA would be
great!

Thanks!
 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      30th Dec 2008
Marty,

I would use a helper column, with a formula like

=COUNTIF(A:A,A2)

copied down, then filter on that column, for values >1.

HTH,
Bernie
MS Excel MVP


"Marty" <(E-Mail Removed)> wrote in message
news:0CB10BBF-B40F-4E84-8217-(E-Mail Removed)...
>i want to show the duplicates and hide the unique records. advanced filter
> works great when selecting "unique records only", but i want the opposite
> result. any ideas on how to accomplish this using the filter or VBA would be
> great!
>
> Thanks!



 
Reply With Quote
 
Marty
Guest
Posts: n/a
 
      30th Dec 2008
Thanks for the reply! I was hoping to avoid the helper column. Running the
advanced filter and selecting unique is exactly the way i want to go, only
opposite. if there is any way of doing this withou a helper column i would
prefer it, but i may be stretching. It just seems if the filter can be ran
from VBA and select unique that the opposite should be true.

Thanks Again!

"Bernie Deitrick" wrote:

> Marty,
>
> I would use a helper column, with a formula like
>
> =COUNTIF(A:A,A2)
>
> copied down, then filter on that column, for values >1.
>
> HTH,
> Bernie
> MS Excel MVP
>
>
> "Marty" <(E-Mail Removed)> wrote in message
> news:0CB10BBF-B40F-4E84-8217-(E-Mail Removed)...
> >i want to show the duplicates and hide the unique records. advanced filter
> > works great when selecting "unique records only", but i want the opposite
> > result. any ideas on how to accomplish this using the filter or VBA would be
> > great!
> >
> > Thanks!

>
>
>

 
Reply With Quote
 
Bernie Deitrick
Guest
Posts: n/a
 
      30th Dec 2008
Marty,

When you are using the unique items only option, you are not actually filtering to show items that
only appear once - it also shows items that appear multiple times, but only lists them once. So
there really is no 'reverse' of that.

HTH,
Bernie
MS Excel MVP


"Marty" <(E-Mail Removed)> wrote in message
news:7EFED2BE-58F9-495B-8D88-(E-Mail Removed)...
> Thanks for the reply! I was hoping to avoid the helper column. Running the
> advanced filter and selecting unique is exactly the way i want to go, only
> opposite. if there is any way of doing this withou a helper column i would
> prefer it, but i may be stretching. It just seems if the filter can be ran
> from VBA and select unique that the opposite should be true.
>
> Thanks Again!
>
> "Bernie Deitrick" wrote:
>
>> Marty,
>>
>> I would use a helper column, with a formula like
>>
>> =COUNTIF(A:A,A2)
>>
>> copied down, then filter on that column, for values >1.
>>
>> HTH,
>> Bernie
>> MS Excel MVP
>>
>>
>> "Marty" <(E-Mail Removed)> wrote in message
>> news:0CB10BBF-B40F-4E84-8217-(E-Mail Removed)...
>> >i want to show the duplicates and hide the unique records. advanced filter
>> > works great when selecting "unique records only", but i want the opposite
>> > result. any ideas on how to accomplish this using the filter or VBA would be
>> > great!
>> >
>> > Thanks!

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unique records by advanced filter Stefi Microsoft Excel Misc 10 5th Oct 2009 08:04 AM
Leaving only unique records or deleting ALL duplicates TSW Microsoft Access 2 4th Jun 2008 05:19 PM
Advanced Filter - extracting unique records =?Utf-8?B?QmFsYW4=?= Microsoft Excel Worksheet Functions 2 4th Sep 2007 03:12 AM
Deleting Duplicates, All records unique mirdonamy Microsoft Excel Misc 7 11th Jan 2006 09:59 PM
Unique Records- query as duplicates - Access 2002 =?Utf-8?B?UmF5?= Microsoft Access Database Table Design 1 28th Jun 2004 07:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 PM.