Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy multiple entries and paste without duplicates

I have a column which is a field within an excel spreadsheet. Its
country field denoting country names. I have multiple entries for al
the various countries. I want to highlight the the entire column, cop
it, but when I paste it I only want to paste each entry once
Effectively its like exporting all the possible field entries withou
repeating one of them.

Example I want to highlight the range A1:A6

Brazil
Canada
USA
Brazil
Canada
Chile

The paste to a new sheet. When pasted it will look like this:
Brazil
Canada
USA
Chile

I want to be able to highlight the column and have the macro work of
the active range. Can anyone help with this?

Thank-yo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Copy multiple entries and paste without duplicates

Hi
try using 'Data - Filter - Advanced Filter' and check 'Unique values'

--
Regards
Frank Kabel
Frankfurt, Germany


I have a column which is a field within an excel spreadsheet. Its a
country field denoting country names. I have multiple entries for

all
the various countries. I want to highlight the the entire column,
copy it, but when I paste it I only want to paste each entry once.
Effectively its like exporting all the possible field entries without
repeating one of them.

Example I want to highlight the range A1:A6

Brazil
Canada
USA
Brazil
Canada
Chile

The paste to a new sheet. When pasted it will look like this:
Brazil
Canada
USA
Chile

I want to be able to highlight the column and have the macro work off
the active range. Can anyone help with this?

Thank-you


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy multiple entries and paste without duplicates

Thanks Fran

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple worksheet Copy Paste Macro danno-c[_2_] Excel Discussion (Misc queries) 1 September 21st 09 05:37 PM
copy once paste multiple places raulavi Excel Discussion (Misc queries) 4 February 22nd 08 09:20 PM
I need to copy & paste multiple lines to another workbook? Jim Excel Worksheet Functions 3 April 11th 07 01:17 AM
How to copy and paste same formula in multiple cells? Amanda Excel Worksheet Functions 1 June 30th 05 04:16 PM
Copy & paste in multiple areas using VBA Rob Excel Discussion (Misc queries) 12 April 11th 05 02:09 PM


All times are GMT +1. The time now is 10:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"