+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP and MATCH returning incorrect values

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    VLOOKUP and MATCH returning incorrect values

    Hello all, I've searched the forums before to solve my problems but this time I need to post.
    I'm just getting to grips with Excel having used it for fairly simple calculations in the past but now, in a a new job, I find myself getting more in-depth.

    I'm using Excel 2010 and having difficulty with vlookup and match.

    Data in a table is referenced by two values in two columns, the coordinates of which should provide the answer.
    But.
    The values returned are offset by one, returning a different value.

    I've searched the forums and found many similar problems but have been unable to relate them to my own issue (At this point I think I'm suffering spreadsheet exhaustion!).

    Attached should be an image representing the issue and a copy of the workbook in xls (97-2003) and xlsx (2010) formats.

    Thanks in advance.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by -Spax-; 10-10-2011 at 07:04 AM.

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: VLOOKUP and MATCH returning incorrect values

    Hi Spax,

    The formulas are all correct, however the array refenrence in the MATCH function is of a different height to that of the HLOOKUP function. Because the HLOOKUP function includes the first row as its 3rd parameter, you should either +1 to the MATCH function or change the reference in C5:C20 from $F$6:$F$19 to $F$5:$F$19

  3. #3
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: VLOOKUP and MATCH returning incorrect values

    look at atachment (1 variant)

    regards
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: VLOOKUP and MATCH returning incorrect values

    -- deleted --
    Last edited by quekbc; 10-10-2011 at 08:06 AM. Reason: Mistaken tom for Spax. Silly me~

  5. #5
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: VLOOKUP and MATCH returning incorrect values

    Gentlemen, thank you both!

    I arrived with one problem and get two solutions!

    quekbc; It hadn't occurred to me that the function would want to see the other heading.
    By increasing the reference area by one to include the row or column containing the headings (depending on the V or H lookup) it returns the correct value.
    This fixes the incorrect value result I was receiving with both V and H lookup.

    tom1977: Being unfamiliar with the INDEX function this has opened up my options. INDEX could be a more elegant solution as I think it could provide a more encompassing solution to future data tables.

    Thank you both again for your help

+ 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