VLookup Errors

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am doing a VLookup from one sheet to another matching up rep codes -
everything is formatted as General. Our rep codes are either 2 numbers or 2
letters. The letters are working great but rep codes that are numbers return
as N/A.

Any idea how to fix that without changing the formatting?
 
Erika,

I'm guessing that vookup isn't sorted numerically and therefore you'll need
to use FALSE as the 3rd argument of Vlookup eg. =VLOOKUP(A1,A1:B100,2,FALSE)

HTH Rob
 
Rob,

Here is my formula looks like

=VLOOKUP(A5,Dailyfile!$A$1:$D$323,4,FALSE)

Is that correct?
 
Erika,
That formula looks correct and should work regardless of whether number of
text. If it isn't working, are the numbers in the range to lookup actually
numbers i.e. could they have been imported an are in fact text but look like
a number?

Rob
 
Formula looks correct. However the problem may be that the rep codes are
text in either the source or the lookup table. If both are not identical
(either text or numbers) then you will get an error.

To convert all of the numbers entered as text to numbers

Place 1 in a blank cell

Select that cell and select Edit/Copy
Select the range of cells you need to convert and select Edit/Paste Special
and select the "Multiply" option


HTH

PC
 

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

Back
Top