+ Reply to Thread
Results 1 to 5 of 5

INDEX MATCH MATCH gives N/A without row numbers defined

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    2

    INDEX MATCH MATCH gives N/A without row numbers defined

    Hi All,
    First time poster so forgive any unintentional forum rudeness. I'm using INDEX MATCH MATCH with OFFSET to find a value, then find a text string on the row of that value, and return the contents of the cell to the right of the cell containing the text. The text string is a value in the data set, is not in the column header, and it may be in any one of five different columns. INDEX MATCH MATCH works as long as I plug the specific row into the second MATCH criteria, but I can't figure out a way to specify the correct row to locate the text string on that row. On the plus side, I will always be looking for the same text string (i.e. "AUX")

    The workbook sample may illustrate this better than my description. Index statement is in cell B14.

    Example: For item A5678 (A7), I want to find the Position ID (G7) for the AUX position (Column F, but could be in columns B, D, F, H, or J). I get a valid result if I add the row number to the second match:
    Please Login or Register  to view this content.
    How do I indicate the row number dynamically for all rows?

    Thanks in advance for any help.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: INDEX MATCH MATCH gives N/A without row numbers defined

    oops wrong
    try this
    =INDEX(A2:AA10,MATCH(B13,A2:A10,0),MATCH("aux",OFFSET(A2,MATCH(B13,A3:A10,0),0,,100),0)+1)
    Last edited by martindwilson; 06-28-2013 at 09:02 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  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: INDEX MATCH MATCH gives N/A without row numbers defined

    Not sure what you're trying to do.

    Here's my best guess...

    On the row that contains the Item ID, find the cell that contains "AUX" and return the value in the next cell to the right?

    If that's correct then try this:

    =INDEX(B3:K10,MATCH(B13,A3:A10,0),MATCH("aux",INDEX(B3:K10,MATCH(B13,A3:A10,0),0),0)+1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    06-28-2013
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: INDEX MATCH MATCH gives N/A without row numbers defined

    Thank you Martin and Biff. Both options worked great!

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

    Re: INDEX MATCH MATCH gives N/A without row numbers defined

    You're welcome. We appreciate the feedback!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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