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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,214,415
Messages
6,119,375
Members
448,888
Latest member
Arle8907

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