The employee ID entries on both sheets much match exactly and must be of the
same 'type'. For instance, lets say on one sheet you have formatted the
column containing the IDs as text so when you entered 0001, it was accepted
as text and actually consists for 3-zero characters and a 1. But over on the
other sheet, you've set the format for the column's numbers (using format
cell) to ####, then you enter a 1 and it appears as 0001, but underneath it
is really only "1", so when you try to match "0001" to what appears to be
"0001" it's actually trying to match "0001" against "1" and you get a #N/A!
error.
You're going to have to assure consistency of types and contents for those
employee IDs that don't actually start with a letter of the alphabet.
"PeterB" wrote:
> I'm sorry, I don't think I explained this correctly originally. I am actually
> trying to pull the Manager Name data from one sheet into another by way of
> the their Employees' ID#'s, which range from 0001 to K999. The formula I am
> using right now is: =VLOOKUP(E2,'[December AM Master
> (2).xlsx]Page1_1'!$B:$L,11,0)
> On the December AM Master sheet Column B is the Employees' ID#'s and L is
> their Managers' Names. I have the Employee's ID#'s on the other sheet but not
> the Managers' Names which is why I am attempting this VLOOKUP, to add their
> Names to the sheet. I'm not sure why but only some of the Manager Names are
> copying over.
>
> "trip_to_tokyo" wrote:
>
> > I have just put a file for you at:-
> >
> > http://www.pierrefondes.com/
> >
> > Item number 37 towards the top of my home page.
> >
> > (Ignore the smith smith smith in the cells because these were done for
> > somebody else).
> >
> > As you can see 123 gets returned in cells F 14 and F 15 (I think that this
> > is what you want).
> >
> > If my comments have helped please hit Yes.
> >
> > Thanks.
> >
> >
> > "PeterB" wrote:
> >
> > > I am attempting a V Lookup which involves Employee ID#'s, of which some begin
> > > with a Letter (A123) and some begin with a Zero (0123). When I attempt to
> > > convert these to Numbers I see no change and my V Lookup returns a #N/A
> > > error. Any suggestions would be greatly appreciated.
> > >
> > > Thank you