+ Reply to Thread
Results 1 to 4 of 4

return multiple values horizontally while removing duplicates

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    22

    return multiple values horizontally while removing duplicates

    Hello,

    I'm attaching a sample of what I'm looking for:
    excelforum.xlsx

    I will try to explain -
    Every company showed few times in the table,
    each time it mentions 2 countries.

    Now I built a new table, which have the name of the companies.

    I'm looking for a formula that bring me the different countries of each company horizontally,
    but skip countries that mentioned twice (or more).

    For me it's really tough, so maybe someone here could help me. I'll really appreciate it.
    Thanks in advance!
    Last edited by kingi; 04-24-2013 at 06:51 AM.

  2. #2
    Registered User
    Join Date
    05-17-2012
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: return multiple values horizontally while removing duplicates

    Someone?

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: return multiple values horizontally while removing duplicates

    So i decided to move to ONE column in my original table, so I have this formula that works perfectly: (ignore the cells numbers)

    =INDEX($D$2:$D$23415, SMALL(IF($I$4=$A$2:$A$23415, ROW($A$2:$A$23415)-ROW($A$2)+1), COLUMN(A1)))

    The only question is: How do I remove duplicates?

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: return multiple values horizontally while removing duplicates

    Hi
    I think its diffucult question. I have answer but its indirect and inefficient. If this kind of solution satisfies you it can be improved.
    Uploading file to analyze.

    Hope excel experts will have better solutions for your example.
    Attached Files Attached Files
    Appreciate the help? CLICK *

+ 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