+ Reply to Thread
Results 1 to 5 of 5

INDEX-MATCH Help/Question

  1. #1
    Registered User
    Join Date
    06-24-2016
    Location
    San Antonio
    MS-Off Ver
    Excel Mac 2011
    Posts
    2

    INDEX-MATCH Help/Question

    Hello! I'm new to the forum and this is my first post, so hopefully you all can help.

    I'm new to Excel, but I've been trying to utilize it more. I've been doing a lot of research on the INDEX and MATCH functions but I can't seem to figure out how to apply them my specific application.

    I've attached a screenshot of my worksheet but in a worded description:

    In cells B1:G1 I have my column headers listed (Option 1, Option 2, Option 3, Option 4, Option 5, Option 6)
    In cells A2:A9 I have my row headers listed (Joel, Spencer, Joseph, Trey, Cameron, Charles, Zach, Angie)

    In the cells adjacent to the person's name there is either a "Y" or an "N" indicating the persons preference of the option.

    I want to create a "SEARCH" cell in I4 that will allow me to type one of the column headers into the cell (Option 1, Option 2, etc.) and then display the names of the people who have indicated a "Y" as their preference in cells K4:R4.
    Attached Images Attached Images

  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,895

    Re: INDEX-MATCH Help/Question

    Can you please post a small sample file.

    To upload a file click "Go Advanced" then scroll down to "Manage Attachment". Click, Browse, select file, Upload and Close Window.

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

    Re: INDEX-MATCH Help/Question

    Put this in K4 and drag across

    =IFERROR(INDEX($A$2:$A$9,SMALL(IF(INDEX($B$2:$G$9,0,MATCH($I$4,$B$1:$G$1,0))="Y",ROW(INDEX($B$2:$G$9,0,MATCH($I$4,$B$1:$G$1,0))),""),COLUMNS($K$4:K4))-1),"")

    ...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.

    See the file attached.
    Attached Files Attached Files
    Last edited by NeedForExcel; 06-24-2016 at 03:11 AM.
    Cheers!
    Deep Dave

  4. #4
    Registered User
    Join Date
    06-24-2016
    Location
    San Antonio
    MS-Off Ver
    Excel Mac 2011
    Posts
    2

    Re: INDEX-MATCH Help/Question

    Thank you! My problem was that I wasn't including the brackets before the ROW function. Thanks for the file as well!

  5. #5
    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,895

    Re: INDEX-MATCH Help/Question

    Another ...

    =IFERROR(INDEX($A$2:$A$100,SMALL(IF(OFFSET($A$1,1,MATCH($I$4,$B$1:$G$1,0),100,1)="Y",ROW($A$2:$A$100)-ROW($A$2)+1,""),COLUMNS($K$4:K4))),"")

    ...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.

+ 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. index,match question
    By bugdout in forum Excel Formulas & Functions
    Replies: 52
    Last Post: 06-13-2016, 06:38 PM
  2. [SOLVED] Index and Match Question
    By mdt175 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2015, 05:20 PM
  3. [SOLVED] Index/Match Question
    By chisox721 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-12-2013, 05:15 AM
  4. Index, match, match Question!. Seems so simple but can't figure it out...
    By huikimhuikim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2013, 01:57 PM
  5. [SOLVED] INDEX and MATCH question
    By Kabish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2012, 02:45 PM
  6. Index/Match Question
    By mikera in forum Excel General
    Replies: 2
    Last Post: 01-07-2010, 07:01 PM
  7. index,match and sum question
    By wj_clark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2008, 09:14 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