+ Reply to Thread
Results 1 to 2 of 2

VBA script to sort for non duplicate numbers

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    142

    VBA script to sort for non duplicate numbers

    I have attached a workbook with integers in sheet 1 and sheet 2 column A. I would like to search these columns and take all non duplicate numbers and put them in sheet 3 column A.

    Example:
    200
    300
    200
    234
    2345

    In sheet 3 it would have the following:
    200
    300
    234
    2345

    I don't want the duplicates. Any help would be helpful.
    The range will be growing and shrinking as i go.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: VBA script to sort for non duplicate numbers

    You could record a macro while:

    Copy Sheet2!A:A and paste to Sheet3!A1

    goto [Data] - [RemoveDuplicate]

    http://www.youtube.com/watch?v=DlkkT_TAlI8

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 06-03-2013, 05:34 PM
  2. [SOLVED] Script to recognise types of duplicate data
    By DMacSTB in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-06-2012, 04:12 PM
  3. Duplicate script or macro in Excel
    By Duke Lawrence in forum Excel General
    Replies: 4
    Last Post: 10-22-2009, 04:23 AM
  4. Sort/Remove Script?
    By rosscoloco in forum Excel General
    Replies: 11
    Last Post: 07-05-2009, 12:33 AM
  5. How to sort duplicate numbers
    By sricomm in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-08-2008, 03:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1