+ Reply to Thread
Results 1 to 3 of 3

discrepancy in vlookup function results

  1. #1
    Registered User
    Join Date
    04-26-2015
    Location
    Tehran
    MS-Off Ver
    2007
    Posts
    57

    discrepancy in vlookup function results

    Dear all,
    I have encountered a problem in using vlookup function.

    I have two columns with 65536 rows. When I compare column A with column B the results are different from comparing column B with column A.

    However around row number 2400 the results are the same.

    Can you advice me how to solve this problem?

    Regards

    Nazanin
    Last edited by nazaninibb; 10-08-2017 at 02:33 AM.

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: discrepancy in vlookup function results

    Not without seeing some details.

    At a minimum, what are the two VLOOKUP formulas?

    Also, what are the values in the columns A and B -- at least some of them?

    It might also help if you explain how the values in each column are generated. For example, the formulas, if they are calculated, or a statement that they are constants.

    For this problem, it might be better to attach a redacted example Excel file; note: the file, not an image. The devil might be in the details.

    It is a little tricky to do that in this forum. In a response, click Go Advanced, then Manage Attachments.

    -----

    Two possible explanations (wild guesses) come to mind. They assume that you are using VLOOKUP(...,TRUE) in the 4th parameter or the 4th parameter is missing.

    1. Column A and B are ordered differently. Both must be in ascending order in order for VLOOKUP(...,TRUE) to work correctly.

    2. Column A and B are calculated differently; for example, one might be constants, and the other might be formulas (calculations). Calculations can result in internal binary values that are infinitesimally more or less than the equivalent constant. With VLOOKUP(...,TRUE), that can result in VLOOKUP matching the wrong row, since VLOOKUP matches the largest binary value less than or equal to the first parameter.
    Last edited by AliGW; 10-08-2017 at 03:38 AM. Reason: Unnecessary quotation removed.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,086

    Re: discrepancy in vlookup function results

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] VLOOKUP function not displaying results
    By B24Mike in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2015, 01:09 PM
  2. How to reference one cell below the results of a VLOOKUP function
    By Sackie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-23-2013, 07:55 PM
  3. Vlookup results based on IF Function
    By numbersdntlie in forum Excel General
    Replies: 9
    Last Post: 12-21-2011, 01:24 PM
  4. Replies: 3
    Last Post: 12-06-2010, 04:24 PM
  5. Worksheet function Vlookup and VLOOKUP return different results
    By zandero in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2010, 08:24 AM
  6. Method to find discrepancy in sumif function
    By mingali in forum Excel General
    Replies: 1
    Last Post: 09-05-2009, 02:19 PM
  7. Vlookup data discrepancy
    By EK in forum Excel General
    Replies: 4
    Last Post: 09-28-2005, 11:05 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