Hi,
I'm trying to complete a vlookup formula, but doesn't seem to be returning the correct info
I have two sheets.
Sheet one cell A1 is where i would like to have the Code returned from sheet two.
I've tried looking for the names, then returns the code against the name in sheet 1. but I'm doing something wrong. i have also tried the Match formula
This is the code I'm using =VLOOKUP(B2,Sheet2!$A$2:$B$4,1,0)
I'd appreciate it if someone could point me in the right direction.
sheet 1
A1 A2 A3
[TABLE="width: 274"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Name[/TD]
[TD]ID [/TD]
[/TR]
[TR]
[TD]#N/A[/TD]
[TD]Paul Mension[/TD]
[TD]206[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]David Docks[/TD]
[TD]210[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Debbie Stock[/TD]
[TD]471[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
A1 A2 A3
[TABLE="width: 245"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Name[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]001[/TD]
[TD]Paul Mension[/TD]
[TD]206[/TD]
[/TR]
[TR]
[TD]002[/TD]
[TD]David Docks[/TD]
[TD]210[/TD]
[/TR]
[TR]
[TD]003[/TD]
[TD]Debbie Stock[/TD]
[TD]471[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to complete a vlookup formula, but doesn't seem to be returning the correct info
I have two sheets.
Sheet one cell A1 is where i would like to have the Code returned from sheet two.
I've tried looking for the names, then returns the code against the name in sheet 1. but I'm doing something wrong. i have also tried the Match formula
This is the code I'm using =VLOOKUP(B2,Sheet2!$A$2:$B$4,1,0)
I'd appreciate it if someone could point me in the right direction.
sheet 1
A1 A2 A3
[TABLE="width: 274"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Name[/TD]
[TD]ID [/TD]
[/TR]
[TR]
[TD]#N/A[/TD]
[TD]Paul Mension[/TD]
[TD]206[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]David Docks[/TD]
[TD]210[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Debbie Stock[/TD]
[TD]471[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
A1 A2 A3
[TABLE="width: 245"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Name[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]001[/TD]
[TD]Paul Mension[/TD]
[TD]206[/TD]
[/TR]
[TR]
[TD]002[/TD]
[TD]David Docks[/TD]
[TD]210[/TD]
[/TR]
[TR]
[TD]003[/TD]
[TD]Debbie Stock[/TD]
[TD]471[/TD]
[/TR]
</tbody>[/TABLE]