+ Reply to Thread
Results 1 to 4 of 4

Macro to give the count of unique values after comparing the comma separated values

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Macro to give the count of unique values after comparing the comma separated values

    Hello Guys,

    I need a Macro (not formula) which compares the comma separated values present in Column “I” with individual values present in Column “D” and generate the count of unique values in Column “J”.

    The sample sheet has been attached for reference.

    Many thanks for your help in advance.

    Manish_Gupta
    Attached Files Attached Files
    Last edited by Manish_Gupta; 03-03-2014 at 01:42 AM.

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    862

    Re: Macro to give the count of unique values after comparing the comma separated values

    Hi there!
    The numbers in the "J" column from your attached file should be the correct answer? Do you need the count of distinct values that are not in the "D" column?
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Re: Macro to give the count of unique values after comparing the comma separated values

    Hello bulina2k,

    Thanks for reply.

    Yes, the numbers in the "J" Column are the correct answers and I need the count of the distinct values which are not in the "D" column but present in "I" column as a individual or comma separated value.

    Please help me if you know the solution.

    Thanks,

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Macro to give the count of unique values after comparing the comma separated values

    Hi Manish_Gupta,
    try it
    Please Login or Register  to view this content.
    Last edited by nilem; 03-03-2014 at 12:44 AM.

+ 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] How to count values separated by a comma
    By PlamSa in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-19-2013, 09:10 AM
  2. [SOLVED] Count all the unique values in a cell separated by a pipe delimiter, i.e. |
    By Lija in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2013, 11:16 AM
  3. [SOLVED] Macro to match values in cells separated by semicolon and comma
    By Ale84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2013, 11:00 PM
  4. count of comma separated values
    By bujji1305 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-01-2012, 07:33 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