+ Reply to Thread
Results 1 to 4 of 4

Index match to find unique values

  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Bedfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    60

    Index match to find unique values

    I have three columns of data:

    A
    Car A A
    Bus B A
    Van C C
    Dog A A
    Cat A C

    I want to INDEX MATCH columns C and D to find unique values in column A. In the example I would like a formula to look at A1 then in instance return Car, Bus, Dog, Cat.

    Using the following formula I can change the last number in the formula ,1 to ,2 then ,3 etc. This returns the next occurrence of A but using the example it would return Car, Car, Bus, Dog, Dog, Cat
    Please Login or Register  to view this content.
    Any ideas gratefully received.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index match to find unique values

    Hi.

    Array formula**:

    =INDEX($A$2:$A$6,SMALL(IF(FREQUENCY(IF($B$2:$C$6=$A$1,MATCH($A$2:$A$6,$A$2:$A$6,0)),ROW($A$2:$A$6)-MIN(ROW($A$2:$A$6))+1),ROW($A$2:$A$6)-MIN(ROW($A$2:$A$6))+1),ROWS($1:1)))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    03-13-2010
    Location
    Bedfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Index match to find unique values

    Almost there, thank you XOR LX that works a treat for returned values in a list in one column going down. What if I wanted a returned list in one row going across?

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index match to find unique values

    Just change ROWS($1:1) to COLUMNS($A:A).

    Regards

+ 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] Help to create a Index / Match list of unique values.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2013, 04:44 PM
  2. Using Index-Match to pull non-unique values
    By acsherman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2013, 04:08 PM
  3. Index and Match Unique values from list
    By thelegazy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2013, 02:49 AM
  4. Replies: 2
    Last Post: 02-02-2013, 05:24 PM
  5. Using MATCH and INDEX to extract unique values
    By jg70124 in forum Excel General
    Replies: 1
    Last Post: 05-17-2006, 03:10 PM

Tags for this Thread

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