Non unique records only

M

mit05

Hi,

I would like to get from a range the non unique records. Something like
advanced filter do for unique record only.

How can I do that?

Thanks
 
J

Jim Jackson

Are you thinking of records that fit within certain specs?

Selection.AutoFilter Field:=1, Criteria1:="> A", Criteria2:="< G"
 
M

mit05

Hi,

If I have 2 columns of data in range A1:B10

FIELD1|FIELD2
A|12
A|10
B|50
B|50
C|22
C|21
C|21
A|10
C|21

The macro will allow me to select the range A1:B10 and , for example, the
cell C1.
The macro will produce this output in range C1:D4

FIELD1|FIELD2
A|10
B|50
C|21

That are the non unique records of range A1:B10 (with heading)

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top