+ Reply to Thread
Results 1 to 5 of 5

vlookup does not work. format issue

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010, 2007,2002
    Posts
    60

    vlookup does not work. format issue

    I cant get this vlookup to work. I know its a format issue and have made the formats the same bus still doesnt work. Please advise. Thanks.
    Attached Files Attached Files

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

    Re: vlookup does not work. format issue

    Your dates in column H are not dates at all.
    They're text strings becaue of the 2 digit day strings at the end (mo tu we etc..)
    Remove those from the dates in column H and all will be well.

  3. #3
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: vlookup does not work. format issue

    It is returning an #N/A because your dates are formatted incorrectly. The lookup date in column D is not matching to any dates in H.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup does not work. format issue

    Try this formula

    =VLOOKUP(TEXT(D2,"mm/dd/yyyy")&"*",H$2:K$8,4,FALSE)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: vlookup does not work. format issue

    Keep the original format with this formula:

    =VLOOKUP(LEFT(TEXT(D2,"mm/dd/yyyy ddd"),13),H2:K8,4,FALSE)
    Quang PT

+ 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. Replies: 9
    Last Post: 11-20-2014, 12:03 PM
  2. [SOLVED] ComboBox Triggered VLOOKUP Doesn't Work Because Of Format
    By nevi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2012, 01:55 AM
  3. Excel Vlookup format issue
    By Mlmotter in forum Excel General
    Replies: 1
    Last Post: 07-28-2011, 12:01 PM
  4. Excel 2007 : Trying to work out a spacing issue
    By bradymac2222 in forum Excel General
    Replies: 3
    Last Post: 06-21-2010, 03:36 AM
  5. Excel 2007 : will IF statements work for this issue?
    By LIZCONSTRUCTION in forum Excel General
    Replies: 10
    Last Post: 04-08-2010, 12:39 PM

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