How to remove all but 1lines that share a common cell

  • Thread starter Thread starter Sirritys
  • Start date Start date
S

Sirritys

Ok that was bad topic. Here is the scenario:

I have lots of rows (>1000) and I only need 1 row / all occurrences of
"123" in first column

So the result would be a sheet where there would be no lines that share
same value in column A. (lines with dublicate instances would be
deleted)

Regards,
Sirritys
 
Look at Data>Filter>Advanced Filter. It has an option to copy unique rows
only.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
You could apply autofilter for column A, selecting the value "123".
Highlight all the rows except the first one which contain "123", then
Edit | Delete Row, then select "All" in the autofilter drop-down (or
another value and repeat the procedure).

If you have a lot of values in column A it would be better to apply a
macro to do the deletions.

Hope this helps.

Pete
 
Heh, I was stupid this is easier than I thought

I just made extra column with formula =IF(B2=B1;1;0), then just arrange
based with that value and delete all "1"valued rows ;-)


Thanks thought =)
 

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