+ Reply to Thread
Results 1 to 5 of 5

Lookup on Duplicate Values

  1. #1
    Registered User
    Join Date
    01-08-2011
    Location
    KL,Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    53

    Lookup on Duplicate Values

    Hi All

    I'm looking to return a lookup value based on a set of data that has duplicate values. Attached is the a file that contains the issue I am facing. The end result that I am looking for is from Cell I3 to L3. What I need is a formula that looks up at Cell C2 within the data range of E3:F19 and the results should be in I3 to L3. Cell C2 has to be in months. Appreciate your assistance on this.

    Best regards

    Tamil
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Lookup on Duplicate Values

    In I3:

    =IFERROR(INDEX($F$3:$F$19,MATCH(1,($E$3:$E$19=I$2)*($F$3:$F$19=$C$2),0)),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once entered, drag copy across.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-08-2011
    Location
    KL,Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Lookup on Duplicate Values

    Thank you Ali! for the quick turnaround. It worked like a peach!.....Have a great Sunday.

    Best regards

    Tamil

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Lookup on Duplicate Values

    You, too - you're welcome!

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup on Duplicate Values

    Here a modified Ali's formula that doesn't need CTRL+SHIFT+ENTER
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Lookup Values according to 2 criteria, with duplicate values in both.
    By dys5315 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2015, 11:03 AM
  2. Lookup duplicate values - Help please
    By tony126 in forum Excel General
    Replies: 5
    Last Post: 05-27-2015, 06:23 PM
  3. lookup with duplicate values
    By Jouzea in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2015, 10:18 PM
  4. Vlookup with duplicate Lookup values
    By fabvolky in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2015, 12:05 PM
  5. [SOLVED] PLEASE HELP: Return Duplicate Values with V-lookup
    By Funky_Finance in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2014, 12:24 AM
  6. [SOLVED] Lookup + Duplicate Values
    By keithmacd in forum Excel General
    Replies: 4
    Last Post: 06-12-2012, 07:49 PM
  7. Need help on how to lookup values that duplicate
    By Pat Parker in forum Excel General
    Replies: 4
    Last Post: 01-26-2012, 11:56 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