+ Reply to Thread
Results 1 to 4 of 4

Lookup_array problem, when using MATCH function

  1. #1
    Registered User
    Join Date
    12-11-2014
    Location
    Portugal
    MS-Off Ver
    2011 MacOS
    Posts
    2

    Lookup_array problem, when using MATCH function

    Hello,

    I'm having a #VALUE error when using a MATCH function.
    Basically I want to introduce the lookup_array automatically depending on the position of another cell. I want to change the range of the match automatically, starting from the same row of a specific row.

    The problem is when I substitute the lookup_array of for exemple B2:B5 with a function that results in exactly the same text (B2:B5), occurs the #VALUE error. For example, I'm inserting: "B"&VALUE(ROW(B1)+1)&":B5" instead of B2:B5.

    I tried to change the VLOOKUP table_array in the same way, and it also gave me that error.

    Any help is appreciated.

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

    Re: Lookup_array problem, when using MATCH function

    Try

    =MATCH(val,INDEX(B:B,ROW(B1)+1):$B$5,0)

  3. #3
    Registered User
    Join Date
    12-11-2014
    Location
    Portugal
    MS-Off Ver
    2011 MacOS
    Posts
    2

    Re: Lookup_array problem, when using MATCH function

    Thank you very much! Using the INDEX next to : solved the problem

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

    Re: Lookup_array problem, when using MATCH function

    You're welcome.

+ 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. Lookup_array NAME in a MATCH function
    By ades in forum Excel General
    Replies: 3
    Last Post: 07-17-2013, 05:40 AM
  2. dynamic lookup_array in a match function
    By jgoff1988 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-21-2012, 09:10 PM
  3. [SOLVED] INDEX, MATCH to "dynamic" lookup_array
    By ddubbs in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-10-2012, 02:29 PM
  4. Match function, changing range for lookup_array
    By jackiepope87 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-16-2012, 04:29 PM
  5. Using ADDRESS results in a LOOKUP_ARRAY
    By Harry May in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2007, 09:36 AM

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