Copy a column and paste only unique values

G

Guest

Guest
I am wondering how to copy a column that could have repetitive values and paste it into another column with unique values only, in the fewest steps as possible. I can do it as follows.
1. Copy and paste into another column
2. Sort
3. Use "=If(D1=D2, "", D1)" and fill down to get unique values
4. Copy and Paste Special, Values - into another column
5. Sort again

Are there any quicker ways to do this?

Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You could use an advanced filter, check the unique records only box, copy and paste and then use advanced filter- show all.
 
Upvote 0
You could use the approach that I describe here.

You could then apply an AutoFilter to the column containing the COUNTIF worksheet function, Copy the displayed rows, and Paste wherever you want.
This message was edited by Mark W. on 2002-03-08 13:10
 
Upvote 0
The advanced filter worked great. I used the Copy to Another Location option which allowed me to do it all in one step.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top