+ Reply to Thread
Results 1 to 7 of 7

Index Match List Lookup - Multiple same values with condition

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Index Match List Lookup - Multiple same values with condition

    Hi guys,

    Trying to make an index match function (not sure if that's the best function to use) that looks up a number and returns the value. The difficulty is, sometimes the same lookup value (i.e., number) is represented multiple times. For instance, in my data the number "103" is seen three times, but I need the index match to lookup each value different.


    See dummy data
    In essence, in the Output tab I want cells C5:c15 to lookup the number from D5:D15 in the data tab B35:L35 and return the value in B4:L4. Oh, and the code also has to match the output tab cell B3 (PY2) with the range in data tab B3:L3. So I guess its really match TWO variables and return the value.

    Happy functioning guys! Thank you so much for the help, as always.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-22-2018
    Location
    Roma,Italia
    MS-Off Ver
    2013
    Posts
    40

    Re: Index Match List Lookup - Multiple same values with condition

    Buonasera
    potresti mettere l'otput desiderato?

  3. #3
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Re: Index Match List Lookup - Multiple same values with condition

    Sicuro! Output desiderato aggiunto alle celle B5: K15.

    Sure, desired output added to cells B5:K15. See new dummy data
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-22-2018
    Location
    Roma,Italia
    MS-Off Ver
    2013
    Posts
    40

    Re: Index Match List Lookup - Multiple same values with condition

    Buonasera
    C5 da trascinare in basso

    =INDICE(Data!$B$4:$L$4;AGGREGA(15;6;RIF.COLONNA(Data!$B$4:$L$4)/(Data!$B$35:$L$35=D5)-RIF.COLONNA($B$4)+1;CONTA.SE($D$5:D5;D5)))
    se devi gestire gli errori

    =SE.ERRORE(INDICE(Data!$B$4:$L$4;AGGREGA(15;6;RIF.COLONNA(Data!$B$4:$L$4)/(Data!$B$35:$L$35=D5)-RIF.COLONNA($B$4)+1;CONTA.SE($D$5:D5;D5)));"")

    a patto di avere bene interpretato

    Saluti
    Last edited by FioreMatto; 01-24-2019 at 04:38 PM.

  5. #5
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Re: Index Match List Lookup - Multiple same values with condition

    I don't see where that code also matches cell B3 with the data tab range B3:L3.

    Also my dude, I use English functions, sorry. Any way you could use English functions and not Italian? My apologies!!!I can google translate most, but not all. Thank you.

  6. #6
    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,731

    Re: Index Match List Lookup - Multiple same values with condition

    The conversation here should be conducted in English - we have a non-English forum section for anyone unable to do that.

    Having said this, there’s an online tool that can translate formulae for you here: https://en.excel-translator.de/translator/
    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.

  7. #7
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Re: Index Match List Lookup - Multiple same values with condition

    Thanks Ali.

    I'm still looking for an answer to this thread, if anyone can help. I need the output range (highlighted in yellow) to match cell B3 in range Data tab B3:L3 and match the number in cell D5:D15 to Data tab B35:L35 and return the value in data tab b4:L4. However, some of the values in cell D5:D15 can be repeated, for example "103" shows up three times. So that needs to be accounted for in the function because each "103" should have a different output.

    Thank you!

+ 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. Replies: 2
    Last Post: 01-03-2019, 09:21 AM
  2. [SOLVED] INDEX MATCH Lookup and Combine/Add Multiple Values
    By timmckean in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2017, 09:47 AM
  3. Sum Multiple Match Index Lookup Values
    By figo12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2016, 06:15 PM
  4. [SOLVED] Using INDEX(MATCH) with multiple lookup values
    By Wdr in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-11-2016, 09:33 AM
  5. vlookup/index-match w/ multiple lookup values
    By downey_90240 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-10-2015, 10:41 PM
  6. INDEX/MATCH multiple lookup values
    By mythbit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2015, 08:55 AM
  7. [SOLVED] Lookup match index multiple values return other columns
    By martypocock in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-07-2012, 10:57 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