+ Reply to Thread
Results 1 to 4 of 4

Problems with Index Match Function

  1. #1
    Registered User
    Join Date
    07-23-2013
    Location
    arizona
    MS-Off Ver
    Excel 2010
    Posts
    2

    Unhappy Problems with Index Match Function

    Hello Everyone.

    I am new here so I would first like to say hello to everyone. I also hope I can get my formula fixed below.

    I need to create a formula that searches for a specific text in another worksheet and if it matches that specific text, it returns all of the information on that row. After doing some research, I came across the index match function, so I started using it and I keep getting a #N/A error and I can't figure out for the life of me what the problem is. Any help will be greatly appreciated. Thanks.



    =INDEX('Online Renewal'!A:W,MATCH("BUS",'Online Renewal'!A:W,0))



    *I am trying to search for BUS as a text on another worklist and return all of the information on that same row if it is a match.

    **The column that I have it searching for BUS are also formulas. Would that cause a problem? Thanks.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Problems with Index Match Function

    Match can only search in a 1 dimensional array (either 1 row or 1 column).
    So you can't do MATCH("BUS",'Online Renewal'!A:W,0)

    Which column contains "BUS" on the Online Renewal page ?

  3. #3
    Registered User
    Join Date
    07-23-2013
    Location
    arizona
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Problems with Index Match Function

    Hi Jonmo1,

    It is column A. So should it be =INDEX('Online Renewal'!A:W,MATCH("BUS",'Online Renewal'!A:A,0))? Thanks!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Problems with Index Match Function

    You also need to specify which column to RETURN a value from, based on where it is MATCHED in column A.

    So say you want to return a value from Column B, based on the match in Column A
    =INDEX('Online Renewal'!B:B,MATCH("BUS",'Online Renewal'!$A:$A,0))

    Since you mention you want to drag this across to get all the data based on the row match, you need to lock the reference to column A
    That's what the $$'s are for.

    You might be better served even further by putting the match into it's own cell, say Z2 for example..
    Z2: =MATCH("BUS",'Online Renewal'!A:A,0)
    Then in B2 and filled right to X2 put
    =INDEX('Online Renewal'!B:B,$Z2)

+ 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. Problems with INDEX,MATCH
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2012, 02:55 PM
  2. Index Match Problems
    By markd87 in forum Excel General
    Replies: 1
    Last Post: 07-22-2011, 11:32 AM
  3. Index Match Problems
    By Zimbo in forum Excel General
    Replies: 3
    Last Post: 03-02-2011, 07:08 AM
  4. INDEX and MATCH problems
    By protocoledu in forum Excel General
    Replies: 2
    Last Post: 05-20-2009, 11:22 AM
  5. Various index match problems
    By Joe Pineapples in forum Excel General
    Replies: 3
    Last Post: 05-03-2009, 06:47 AM

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