Filter for unique values in multiple columns

S

sahafi

I have a data list on 10 columns. I'd like to fitler and remove the the
duplicates based on col A only. Advance filter will filter single col. How
can I keep unique codes on col A and remove all the duplicates codes in colA
along with the rest of the records on the other 9 colunms?

Thanks.
 
S

Sheeloo

Advance Filter does not work on a range
Select your range with headers
Choose Data|Filter|Advanced Filter
Select Unique Records
Click on Col A after clicking on Criteria Range...
 
M

Max

Try this sequence on a copy of your data sheet ..
Insert a new col B
Put in B2: =IF(COUNTIF(A$2:A2,A2)>1,"x","")
Copy B2 down to the last row of data in col A. This flags duplicates as "x".
Kill the formulas in col B with an "in-place" copy n paste special as values.
Put a label into B1, apply autofilter on col B, choose: "x" from the dropdown
in B1. This gives you all the duplicate rows to be deleted. Select all the
filtered rows (select all the blue rowheaders), right-click > Delete Row.
Done.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500 Files:362 Subscribers:62
xdemechanik
 
S

Sheeloo

Sorry, I meant to say it 'DOES WORK on a range'

Sheeloo said:
Advance Filter does not work on a range
Select your range with headers
Choose Data|Filter|Advanced Filter
Select Unique Records
Click on Col A after clicking on Criteria Range...
 
S

sahafi

Sheeloo,
I have tried your method, but it didn't work for me. I tried different
criteria... selected the entire col A as a criterion, then tried cell A2, A1,
but nothing worked.
So I used Max's way.

Thanks.
 

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