+ Reply to Thread
Results 1 to 6 of 6

Lookup unique values

  1. #1
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Lookup unique values

    Hello to all.
    I need to accomplish this task without using VBA or Filter tool.

    1.On cell A2 the user will enter ONE UNIQUE value of “Customer” column
    2.Beginning on cell G6 and down I need to extract ALL unique values of “Product” column based on the value chosen on A2.

    Please have a look to the uploaded file “Test.xlsx”

    Thanks in advance for any kind help.
    Octavio
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Lookup unique values

    Here!

    Put this on Cell G6 -
    Please Login or Register  to view this content.
    Commit using Ctrl+Shift+Enter
    Last edited by NeedForExcel; 04-27-2015 at 07:35 AM.
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Lookup unique values

    Quote Originally Posted by NeedForExcel View Post
    Here!

    Put this on Cell G6 -

    =IFERROR(INDEX($D$6:$D$21,SMALL(IF($A$2=$C$6:$C$21,ROW($C$6:$C$21)-ROW($C$6)+1),ROWS($G$6:G6))),"")

    Commit using Ctrl+Shift+Enter
    It is not showing unique values.....I have tried CSE

    Attachment 391612
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Lookup unique values

    Oops!

    Seems I missed the "Unique" Part..

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,913

    Re: Lookup unique values

    G6=IFERROR(INDEX($D$6:$D$21,MATCH(0,INDEX(($C$6:$C$21<>$A$2)+COUNTIF($G$5:$G5,$D$6:$D$21),0),0)),"")
    try this and copy towards down
    you can also use pivot table - see attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Re: Lookup unique values

    Thanks Siva
    And thanks to all other too.
    Octavio

+ 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] Unique Total Value Count per Unique Lookup Values
    By KnightVision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2014, 05:03 AM
  2. [SOLVED] A lookup function based on two criteria; one unique & one not unique to the lookup table
    By Trevasaurus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 11:35 AM
  3. [SOLVED] Lookup Unique ID Then Count Values in Different Column
    By BoardGuy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2013, 03:15 PM
  4. [SOLVED] Lookup/Count unique values
    By aikorei in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-16-2012, 01:43 PM
  5. [SOLVED] lookup/match on non-unique values
    By kmfdm515 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-03-2012, 11:06 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