V-lookup copy down help

pup33pawz

New Member
Joined
Jun 2, 2014
Messages
21
Hello! I was wondering if someone could help me formulate a V-Lookup formula for this case:

After I type in the project # into Sheet 1 A2 & A3, I would like B2 & B3 to automatically be filled with Sheet 2's column D with either "First" or "Second". Right now I have =Vlookup(B2,Sheet2!A2:D2,4,False). I am unable to copy down the formula and to get Sheet 1 B3 to autofill with "Second".

Sheet 1:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Project #
[/TD]
[TD]Milestone
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]123
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]789
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Sheet 2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Project #
[/TD]
[TD]Phase
[/TD]
[TD]Client
[/TD]
[TD]Milestone
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]123
[/TD]
[TD]ABC
[/TD]
[TD]Roger
[/TD]
[TD]First
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]123
[/TD]
[TD]ABC
[/TD]
[TD]Kathy
[/TD]
[TD]First
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]123
[/TD]
[TD]ABC
[/TD]
[TD]Ingrid
[/TD]
[TD]First
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]789
[/TD]
[TD]DEF
[/TD]
[TD]Michaelson
[/TD]
[TD]Second
[/TD]
[/TR]
</tbody>[/TABLE]


Thank you in advance!
 
Thank you for your reply. When I insert this formula I get a circular warning? Could it be instead of =VLOOKUP(B2 it should be A2?
 
Upvote 0
When I copy that formula down into Sheet1 Column B. It is returning with #N/A:

after copying formula down using =VLOOKUP($A2,Sheet2!$A$2:$D$2,4,0)
[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Project #
[/TD]
[TD]Milestone
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]123[/TD]
[TD]First
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]789
[/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD][/TD]
[TD]#N/A
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
When I copy that formula down into Sheet1 Column B. It is returning with #N/A:

after copying formula down using =VLOOKUP($A2,Sheet2!$A$2:$D$2,4,0)
[TABLE="class: cms_table_grid, width: 500"]
<TBODY>[TR]
[TD][/TD]
[TD]A

[/TD]
[TD]B

[/TD]
[/TR]
[TR]
[TD]1

[/TD]
[TD]Project #

[/TD]
[TD]Milestone

[/TD]
[/TR]
[TR]
[TD]2

[/TD]
[TD]123
[/TD]
[TD]First
[/TD]
[/TR]
[TR]
[TD]3

[/TD]
[TD]789
[/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]4

[/TD]
[TD][/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]5

[/TD]
[TD][/TD]
[TD]#N/A
[/TD]
[/TR]
</TBODY>[/TABLE]


It should be:

=VLOOKUP($A2,Sheet2!$A$2:$D$5,4,0)

Or as precaution...

=VLOOKUP($A2,Sheet2!A:D,4,0)
 
Upvote 0

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