+ Reply to Thread
Results 1 to 5 of 5

Horizontal Index Match (Hlookup multiple criterias)

  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2011
    Posts
    43

    Horizontal Index Match (Hlookup multiple criterias)

    Hi,

    I'm looking for some help on an HLOOKUP / INDEX MATCH with multiple criterias.

    Attached a spreadsheet.

    (In the lookup tab) - In B2 I want to look if A2 has any of the values that are in row 1 from the data tab.

    For example in the lookup tab in A2 (Fredrick Herderngarden), if I manually go to the data tab I can see that Fredrick Herderngarden has three categories: Business&Finance, Premium, Lifestyle.

    I'd like to automate this since the data is unstructured, otherwise I could solve it with an HLOOKUP.

    Many thanks,
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Horizontal Index Match (Hlookup multiple criterias)

    Hi,

    What do you want as the returned value? Yes, True, something else? For a simple True/False you might use
    =ISNUMBER(MATCH(B$1,INDEX(data!$B$2:$D$5,MATCH($A2,data!$A$2:$A$5,0),0),0))
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    10-08-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2011
    Posts
    43

    Re: Horizontal Index Match (Hlookup multiple criterias)

    Thanks! Yes/True would be awesome!

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Horizontal Index Match (Hlookup multiple criterias)

    Please see my edit above in that case.

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Horizontal Index Match (Hlookup multiple criterias)

    Hi,

    a first approach

    in B2 to be copied across

    =IF(SUMPRODUCT((data!$A$2:$A$100=$A2)*(data!$B$2:$D$100=B$1)),"Ciao!","")


    Regards

    Edit: Hi xlnitwit, sorry: did not mean to overlap...
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

+ 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] Index match multiple criterias
    By salimnore in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-27-2015, 07:24 PM
  2. [SOLVED] Index-Match-(or Vlookup) for Multiple criterias.
    By Anatawan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 02:38 AM
  3. [SOLVED] SUM multiple columns with veritical & horizontal match(index)?
    By Prodschdler in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-25-2013, 01:24 PM
  4. [SOLVED] INDEX & MATCH w multiple criterias?
    By Eemmai in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-24-2012, 05:20 AM
  5. INDEX & MATCH, 3 criterias, multiple sheets
    By Jaakkolo in forum Excel General
    Replies: 15
    Last Post: 07-04-2012, 02:16 AM
  6. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  7. index match based on multiple criterias
    By jw01 in forum Excel General
    Replies: 4
    Last Post: 09-13-2011, 02:21 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