+ Reply to Thread
Results 1 to 4 of 4

Macro to identify unique values of a list

  1. #1
    Registered User
    Join Date
    05-15-2012
    Location
    Guam
    MS-Off Ver
    2010
    Posts
    30

    Macro to identify unique values of a list

    Hi,

    I need a macro which scans a list of values, identifies unique values, and deletes all values except for unique values. The macro will perform and output results on the same worksheet. The macro should also not cause excel to crash if selecting the whole excel column (i.e., selecting a column by clicking on column A or all of 1,048,576 rows of column A).

    Thank you.

    INPUT:
    AAA
    GGG
    BBB
    FFF
    CCC
    EEE
    DDD
    ZZZ
    EEE
    QQQ
    FFF
    GGG

    OUTPUT:
    AAA
    BBB
    CCC
    DDD
    QQQ
    ZZZ

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Macro to identify unique values of a list

    Do you know Excel has a built in function for this...

    http://www.contextures.com/xladvfilter01.html#FilterUR
    HTH
    Regards, Jeff

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

    Re: Macro to identify unique values of a list

    try
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-15-2012
    Location
    Guam
    MS-Off Ver
    2010
    Posts
    30

    Re: Macro to identify unique values of a list

    Thanks so much Jindon.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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