+ Reply to Thread
Results 1 to 5 of 5

Separating Unique values

  1. #1
    Registered User
    Join Date
    10-19-2021
    Location
    Eeklo,Belgium
    MS-Off Ver
    Excel 2016
    Posts
    3

    Separating Unique values

    Hi

    I have the following problem. I have a datasheet of +- 65 columns and between 20 en 400 rows pro column.
    In attachment an example of 2 columns.
    Values in each column are unique but are a combination of several values separated by a ;
    I would like to have a new sheet where all unique values are listed anther each other.

    If the list would only have the products listed in yellow, sheet 2 would look like example I made manually. Problem is that the file is to big to do manually;-)

    Does anyone have an idea on how to solve this happens automatically?

    PS: every week i will have such a sheet so I need some form of automatisation...

    Schermafbeelding 2021-10-19 om 19.57.26.jpg
    Schermafbeelding 2021-10-19 om 19.57.06.jpg
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Separating Unique values

    Did you try clicking the DATA TAB,
    remove duplicates?

  3. #3
    Registered User
    Join Date
    10-19-2021
    Location
    Eeklo,Belgium
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Separating Unique values

    Yes, all cells are unique and all duplicate cells are filtered out.
    A
    A;B
    A;B;C
    A;C

    --> All 4 cells are unique but I need as answer
    A
    B
    C

  4. #4
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Separating Unique values

    This challenge can be solved with some VBA coding.
    Do you fancy VBA ?
    With VBA you can explode the contents of cells by any separator ( , or ; )
    After that you can Remove Duplicates and then sort the list alphabatically
    Enclosed an example how it can be done.
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  5. #5
    Registered User
    Join Date
    10-19-2021
    Location
    Eeklo,Belgium
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Separating Unique values

    Hi thanks!

    No I don't know VBA.
    Yes this does the trick. I adapted the formula so several rows are adapted! It works. thanks!

+ 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. Separating Unique Values & Duplicate Values
    By GeminiDGR8 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2016, 12:39 PM
  2. Replies: 0
    Last Post: 03-08-2012, 12:18 PM
  3. Separating cell values
    By Emmerly in forum Excel General
    Replies: 3
    Last Post: 11-22-2011, 08:39 AM
  4. scaling an exisiting macro for unique values of X for Unique values of Y.
    By widodude in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2011, 09:33 PM
  5. Separating unique values from a list
    By Nickster64 in forum Excel General
    Replies: 2
    Last Post: 05-11-2010, 03:47 PM
  6. Separating values.
    By johnlennon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2008, 02:55 PM
  7. separating cell values
    By saziz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2008, 04:27 PM

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