+ Reply to Thread
Results 1 to 5 of 5

vllokup help

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    cleveland,Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    vllokup help

    I am importing data into a macro enabled excel worksheet and it is converting some of the data to a date. Data import should display 11-01, excel is converting it to 1-Nov. I have created a vlookup table to convert it back to 11-01 but it does not seem to be working. My data is imported into column G, my table array is in a worksheet labeled vlookup, the values I want to return are in the 2nd column and I want to return an exact match and so my formula is:
    =VLOOKUP($G2,vlookup!$A$1:$B$359,2,False)
    Any ideas. General or text formatting of the cells DOES NOT WORK.

  2. #2
    Registered User
    Join Date
    01-25-2012
    Location
    cleveland,Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: vllokup help

    I just opened a blank excel worksheet(not macro enabled) and imported the data and the formula works. Anybody know why?

  3. #3
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: vllokup help

    Hi billyfaith,

    This may be a case of the blind leading the blind, however try custom formatting the date column with “mm:dd”. May be more to it than that but it is a starting point.

    regards

    julhs

  4. #4
    Registered User
    Join Date
    01-25-2012
    Location
    cleveland,Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    Smile Re: vllokup help

    Thanks for the tip but I resaved my worksheet and input the vlookup formula and it works now.

  5. #5
    Forum Contributor
    Join Date
    09-16-2009
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel XP, 2003, 2010
    Posts
    125

    Re: vllokup help

    Julhs's advice is sound. Would most likely to be a cell formatting issue. If the formula works in a new workbook, check the cell's formatting in that workbook and then compare with the cell's formatting in your 'actual' workbook.

    Hope this helps

+ 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