+ Reply to Thread
Results 1 to 6 of 6

Getting a list from raw data without repetitions

  1. #1
    Registered User
    Join Date
    03-14-2013
    Location
    Milan
    MS-Off Ver
    Excel 2010
    Posts
    23

    Getting a list from raw data without repetitions

    Dear all

    I'm trying to figure out how to achieve this and I believe a Macro is the way to go but I do not know how to write it.

    Say you have a column with a list of items, some of which repeat themselves:

    ITEM A
    ITEM B
    ITEM C
    ITEM A
    ITEM D
    ITEM D
    ITEM B


    I would like to find a way to have (from that row data) a column which shows the name of those items without repetitions:

    ITEM A
    ITEM B
    ITEM C
    ITEM D


    I'm not looking for sums or similar (I will deal with that myself), just a way to have a neat column without the repetitions.

    Thanks a lot in advance!

    Vanni

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Getting a list from raw data without repetitions

    You could use excel build-in solution. Select your data, then select Data ribbon and choose "Remove Duolicates".

  3. #3
    Registered User
    Join Date
    06-17-2012
    Location
    Australia
    MS-Off Ver
    MS Office 365
    Posts
    40

    Re: Getting a list from raw data without repetitions

    Agree with Kasan, however VBA solution:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-14-2013
    Location
    Milan
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Getting a list from raw data without repetitions

    Thanks guys. The solution you suggest removes the duplicates from the original column. What I need is to have the list without duplicates in another column, better if on another sheet, without altering the original list.

    Apologies if I was not too clear in my original post.

  5. #5
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Getting a list from raw data without repetitions

    Try this one:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-14-2013
    Location
    Milan
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Getting a list from raw data without repetitions

    Thanks a lot Kasan

    I actually found a pretty easy way round it using just a formula

    =IFERROR(INDEX(List,MATCH(0,COUNTIF($B$1:B1,List),0)),"") + CTRL + SHIFT + ENTER

    And drag down

    Thanks anyway!

+ 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. [SOLVED] count number of repetitions
    By Ocean Zhang in forum Excel General
    Replies: 3
    Last Post: 03-17-2014, 07:32 PM
  2. Count repetitions of occurences of value
    By TRGert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 12:35 AM
  3. number repetitions highlighted
    By librababy in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 11-27-2010, 10:28 PM
  4. compare and count value repetitions
    By ElmerS in forum Excel General
    Replies: 6
    Last Post: 02-10-2010, 05:30 PM
  5. List without repetitions
    By mewingkitty in forum Excel General
    Replies: 3
    Last Post: 12-16-2008, 06:29 AM
  6. How do I remove repetitions in a column?
    By Stretch617 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2008, 03:05 PM
  7. [SOLVED] Why do I get repetitions of characters in my cells?
    By xlcj in forum Excel General
    Replies: 3
    Last Post: 05-13-2006, 03:15 AM
  8. Replies: 1
    Last Post: 09-08-2005, 10:05 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