+ Reply to Thread
Results 1 to 6 of 6

Vlookup not working until i press in enter in cell

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Vlookup not working until i press in enter in cell

    Hi Guys

    Vlookup wont work until I click in the cell and press enter on the cells that I am looking up from.

    Very weird, both are formatted in number.

    Any suggestions?

  2. #2
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Vlookup not working until i press in enter in cell

    You probably need to change settings.

    2003: Tools > Options > Calculation > Calculation > Automatic.

    2007: Office button > Excel options > Formulas > Workbook Calculation > Automatic.

    2010 and 2013: File > Options > Formulas > Workbook Calculation > Automatic

  3. #3
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Re: Vlookup not working until i press in enter in cell

    Hi I noticed a green mark at top and for some reason it stated that the cells were in text format, so highlighted them all and changed to number, then formatted them again to number no decimal and it worked.

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

    Re: Vlookup not working until i press in enter in cell

    Sounds like they are 'Numbers Stored As Text'

    Try copying a blank cell
    Highlight the problematic cells (the ones you have to click into and press enter for it to work)
    Right click - Paste Special - Values - Add - OK.

  5. #5
    Registered User
    Join Date
    04-16-2019
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    1

    Re: Vlookup not working until i press in enter in cell

    If your lookup table has codes which are all formatted as text values (including those that are pure numbers), then you can write your VLOOKUP formula as:

    =VLOOKUP(A2&"", ...

    which will convert the lookup_value in A2 into text.

    Hope this helps.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup not working until i press in enter in cell

    Quote Originally Posted by simpatics View Post
    If your lookup table has codes...
    Thanks for the input

    (did you notice that this thread is over 5 years old though? Done the same thing myself though LOL)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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: 12
    Last Post: 04-29-2024, 06:52 PM
  2. [SOLVED] Need a macro to automatically select a cell and press enter every second
    By coringa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2016, 12:11 AM
  3. Copy cell data to webform and press ENTER
    By randooom in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-08-2014, 05:53 PM
  4. Date changes to <*insert number* when you click cell and press enter?
    By henryGKN in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-20-2014, 06:11 AM
  5. Cell gives incorrect value when I press ENTER.
    By Matthew.Newlove in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-25-2012, 10:58 AM
  6. [SOLVED] Cannot view cell content until I press enter
    By AnisKhan in forum Excel General
    Replies: 4
    Last Post: 06-09-2006, 01:10 PM
  7. [SOLVED] must press enter 2x to move cell focus
    By Lynn in forum Excel General
    Replies: 0
    Last Post: 03-18-2005, 03:06 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