+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP Returning Wrong Values

  1. #1
    Registered User
    Join Date
    05-16-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    7

    VLOOKUP Returning Wrong Values

    Hello

    I'm having some trouble with a staff rota. I have timetabled when 3 employees are working in sheet 2 with their start and end times for each day. Using the infor from this site i have been able to calculate how many staff are working at each hour of the day.

    However, when it comes to putting this info on a format the staff are familiar with, i am having issues. On sheet 3 i have included a vlookup which is returning wrong values. This is only happening for certain times of the day. I have checked formatting, but now i am at a loss.

    I have included a sample so you can see the problem.

    Thanks


    VLookup issue.xlsx

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: VLOOKUP Returning Wrong Values

    Write this in D5:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Never use Merged Cells in Excel

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: VLOOKUP Returning Wrong Values

    Or write this in C3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And drag formula over your cuurent table

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: VLOOKUP Returning Wrong Values

    Don't know if you want to change your file as zbor suggested, but FWIW, your values appeared corrently aftr I put the lookup table time cells in edit mode and (re)entered. Seems like it might be an "internal" rounding error on date/time serial number calculations.

  5. #5
    Registered User
    Join Date
    05-16-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    7

    Re: VLOOKUP Returning Wrong Values

    Jhren that't it! Something so simple. Thanks for your help everybody!

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