unique entries

  • Thread starter Thread starter scrabtree
  • Start date Start date
S

scrabtree

I need a code that will take all the unique entries in
column A Sheet 1 and list them in column 1 Sheet 2.
 
Hi
just use 'Data - Filter - Advanced Filter' and check 'Unique entries'

If you need this in VBA simply record a macro while doing this manually
 
You could use Advanced Filters to using Copy to another location. But this
has to be on the active sheet. It will give you the unique value list, when
you set the criteria to 'nothing'

Cheers
Nigel
 
Hi Gord

Using Excel 2002 SP2 I getr the message box "You can only copy data to the
active sheet", not sure why but it does not work!

Cheers
Nigel
 
Try it once more and watchout for Debra's first step:

If the database is on Sheet1 and you would like to extract data to Sheet2:
1.Go to Sheet 2

If you start on that receiving sheet, you'll find it works.
 

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

Back
Top