Vlookup not working

J

japc90

I typed the below formula:
=VLOOKUP(C4,'Emp Info'!A2:A632,2,FALSE)
It is not working. Instead of pulling back the correct name from
column B it is giving me #REF!. If I tell it to only count over 1
instead of 2 it pulls in the correct value (the same value it is
searching for). Any idea what I am doing wrong?

All assistance is appreciated.
 
P

Pete_UK

Your lookup table has been defined as only one column wide (i.e. from
A2 to A632), yet you are trying to get data from the 2nd column of
this one-column table. Change it to A2:B632 at least.

Hope this helps.

Pete
 
J

japc90

Your lookup table has been defined as only one column wide (i.e. from
A2 to A632), yet you are trying to get data from the 2nd column of
this one-column table. Change it to A2:B632 at least.

Hope this helps.

Pete




- Show quoted text -

Worked perfect thanks!
 
J

jasmine

Have any of you had the following trouble:

I type in the vlookup formula and rather than giving me an answer, it
displays the formula i typed out. When i open the formula wizard it shows
that it is finding the correct value, but not displaying it. I have checked
cell formats and everything else.

Any ideas?
 
G

Gord Dibben

Either of two...............

1. You have set your sheet to "View Formulas" hit CTRL `(backquote) to togle
off/on.

2. The cell was pre-formatted as text and Excel thinks the formula is text.
Format to General then F2 and ENTER


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

vlookup 6
VLOOKUP fORMULA 4
vlookup 3
VLookup 1
VLOOKUP reference issue 3
using vlookup for multiple files 6
VLOOKUP #REF error 3
VLOOKUP returns #REF!? 1

Top