VLOOKUP not returning any results? Please help?

kwillo

New Member
Joined
Sep 10, 2015
Messages
17
Good morning everyone,

I'm struggling with a vlookup today and I can't understand why it isn't working!

I have two tabs the first tab looks like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]01/01/2017
[/TD]
[TD]02/01/2017
[/TD]
[TD]03/01/2017
[/TD]
[/TR]
[TR]
[TD]From
[/TD]
[TD]=IFERROR(VLOOKUP(B2,'journey details'!$D$2:$D$4,3),"")
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]To
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


The second tab, "journey details" looks like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD]Ref
[/TD]
[TD]Surname
[/TD]
[TD]First Name
[/TD]
[TD]Date
[/TD]
[TD]Reg
[/TD]
[TD]From
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Bloggs
[/TD]
[TD]Joe
[/TD]
[TD]01/01/2017
[/TD]
[TD]AB200 VYR
[/TD]
[TD]Home
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Bloggs
[/TD]
[TD]Joe
[/TD]
[TD]02/01/2017
[/TD]
[TD]AB200 VYR
[/TD]
[TD]London
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Bloggs
[/TD]
[TD]Joe
[/TD]
[TD]03/01/2017
[/TD]
[TD]AB200 VYR
[/TD]
[TD]London
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Bloggs
[/TD]
[TD]Joe
[/TD]
[TD]04/01/2017
[/TD]
[TD]AB200 VYR
[/TD]
[TD]Home
[/TD]
[/TR]
</tbody>[/TABLE]


I'm trying to match the dates on the first tab with the second but return the results from column F of the second tab. Any ideas why I'm not getting anything? I'm currently using the formula =IFERROR(VLOOKUP(B2,'journey details'!$D$2:$D$4,3),"") in the first tab.

Any help would be very much appreciated!! Thanks everyone!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

a first answer: maybe you have to extend the reference range

=IFERROR(VLOOKUP(B2,'journey details'!$D$2:$F$10,3),"")

Regards
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,805
Members
453,373
Latest member
Ereha

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