+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP returning wrong value

  1. #1
    Registered User
    Join Date
    01-11-2011
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    14

    Unhappy VLOOKUP returning wrong value

    My VLOOKUP is returning values from cells above or below the one it should be returning.

    In cell Z33 I have =VLOOKUP(C33,Credit,110). It should return a value of 4.4, but instead, returns a value of 12.38, which is the cell beneath.

    I have a list of names on two different sheets and all names are on both sheets.
    Thanks!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP returning wrong value

    VLOOKUP function to look up a value in a table.

    Syntax

    VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])

    For example:
    =VLOOKUP(105,A2:C7,2,TRUE)
    =VLOOKUP("Fontana",B2:E7,2,FALSE)

    lookup_value (required)
    The value you want to look up. The value you want to look up must be in the first column of the range of cells you specify in table-array .
    For example, if table-array spans cells B2:D7, then your lookup_value must be in column B. See the graphic below. Lookup_value can be a value or a reference to a cell.

    table_array (required)
    The range of cells in which the VLOOKUP will search for the lookup_value and the return value.
    The first column in the cell range must contain the lookup_value (for example, Last Name in the picture below.) The cell range also needs to include the return value (for example, First Name in the graphic below) you want to find.

    col_index_num (required)
    The column number (starting with 1 for the left-most column of table-array) that contains the return value.

    range_lookup (optional)
    A logical value that specifies whether you want VLOOKUP to find an approximate or an exact match:
    TRUE assumes the first column in the table is sorted either numerically or alphabetically, and will then search for the closest value. This is the default method if you don't specify one.
    FALSE searches for the exact value in the first column.

  3. #3
    Registered User
    Join Date
    06-24-2016
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    24

    Re: VLOOKUP returning wrong value

    Try =VLOOKUP(C33,Credit,110,FALSE) instead.
    Without the FALSE part, the VLOOKUP defaults to an approximate match.

  4. #4
    Registered User
    Join Date
    01-11-2011
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: VLOOKUP returning wrong value

    Thank you, gjw1971! That worked perfectly!

+ 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. VLOOKUP returning wrong row
    By jthomas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  2. VLOOKUP returning wrong row
    By jthomas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  3. VLOOKUP returning wrong row
    By Adrian M in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 06:05 AM
  4. VLOOKUP returning wrong row
    By Adrian M in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM
  5. VLOOKUP returning wrong row
    By jthomas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. VLOOKUP returning wrong row
    By jthomas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] VLOOKUP returning wrong row
    By jthomas in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-03-2005, 06:05 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