+ Reply to Thread
Results 1 to 3 of 3

Return Multiple corresponding values for Single Lookup Value, Horizontally

  1. #1
    Registered User
    Join Date
    09-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    4

    Unhappy Return Multiple corresponding values for Single Lookup Value, Horizontally

    I am trying to return multiple (>=0) corresponding values (placed above the lookup value row) when I lookup a specific text "Yes" in the corresponding row.
    This may be confusing, please refer to screenshot for details.

    KeywordCapture.JPG

    Essentially, I want to list out the Keywords (Row 1) that contains specific keywords (A2 for example, the formula to return corresponding values "101 Dalmatians, 101 Dominos, 100 101 102")

    I tried using formula {=INDEX($B$2:$B$8, SMALL(IF($A$11=$A$2:$A$8, ROW($A$2:$A$8)-ROW($A$2)+1), COLUMN(A1)))}
    from here: http://www.globaliconnect.com/excel/...=77&Itemid=473

    But failed to make it return proper values...

    Please advise on how I should go about accomplishing this objective.

    Thank you,

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,730

    Re: Return Multiple corresponding values for Single Lookup Value, Horizontally

    Please upload an Excel file rather than image(s).

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Return Multiple corresponding values for Single Lookup Value, Horizontally

    This array formula** entered in I2:

    =IFERROR(INDEX($B$1:$F$1,SMALL(IF(($B2:$F2="Yes")*ISNUMBER(SEARCH($H2,$B$1:$F$1)),COLUMN($B1:$F1)-COLUMN($B1)+1),COLUMNS($I2:I2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy across until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Lookup Values which meet two or more criteria and return multiple matches horizontally
    By josetmg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2015, 01:16 AM
  2. Replies: 4
    Last Post: 11-20-2014, 10:57 PM
  3. Lookup multiple values in different columns and return a single value
    By tanyael in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-18-2014, 10:41 AM
  4. [SOLVED] Formula to lookup and return multiple results horizontally sheet 1 and 2
    By Chris1234567 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2014, 11:17 AM
  5. Lookup to return multiple values horizontally
    By ROBMP in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-06-2014, 01:32 PM
  6. Replies: 10
    Last Post: 02-19-2013, 12:05 PM
  7. [SOLVED] lookup multiple values of a single cell and return sum of results
    By Zeppelin17 in forum Excel General
    Replies: 7
    Last Post: 08-10-2011, 07:09 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