Vlookup not working as expected - REF error

Dellboy

New Member
Joined
Sep 16, 2020
Messages
33
Office Version
  1. 365
See attachment.

Hello all. Been a while since I've used excel and I'm a little rusty.

Basically, I have two sets of data, one set I need to find the match using vlookup. See example - I want to return the colour in column C, however, I get REF error using the following formula;

=VLOOKUP(B2,$E$2:$E$5,5,FALSE)

I assume column number 5 would return the value from that line. Any help would be greatly appreciated.
Vlookup REF error.jpg
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
How about
Excel Formula:
=VLOOKUP(B2,$E$2:$F$5,2,FALSE)
 
Upvote 0
Still get the same error

1651652861395.png


Just looking to return the correct colour in column C
 
Upvote 0
You didn't adjust the lookup range to include column F...
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,019
Messages
6,122,707
Members
449,093
Latest member
Mnur

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