VLookup Won't Work unless Pressing Enter in Cell

bdunk

Active Member
Joined
Aug 1, 2002
Messages
290
I am trying to setup a simple VLookup between two sheets. The VLookup code is as follows:

=VLOOKUP(A2,TopDown!$A$5:$E$62,5,FALSE)

After writing the formula and copying it down the column I get the #N/A error in all my cells but one. This cell's content is "V17811". This is the only cell in my table array that starts with an Alpha character. All cells are set to 'Text'. To get any other cell to work correctly I need to select the cell in my Table Array. In the Formula Bar above I place my cursor at the end of the number and press the Enter key. This then puts the Green corner in the upper left hand corner of the cell and shows the Exclamation point notification that something is not right.

Why does this make it work?
What is happening to the cell when I press enter that makes it work?

Any help is much appreciated.

Brian
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I had the same problem. It disappeared every time I clicked on the save button. Hope it helps for you as well
 
Upvote 0
Hi there!


Stumbled upon this thread as I struggled with the issue myself..

After a bunch of testing, I found that inserting a "text" formula works.

For example:
=VLOOKUP(TEXT(A2;0);Sheet1$A$5:$E$62;1;FALSE)

Hopefully it can save someone time even though the thread is old.

Regards,
Victor
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top