VLOOKUP not working

Mr Frogger

New Member
Joined
Oct 30, 2018
Messages
9
Hi Folks,

I am using a simple VLOOKUP for retrieving a value in another sheet in the same workbook but just keep getting #REF ! error. Think that I overlooked something.

The formula is =VLOOKUP(F3,'Precios '!$A$3:$A$83,2,FALSE)

And what I am trying to do with this is to search for value situated in the F3 cell in the current value, checking that it exists in the Precios sheet and finally retrieving the value in the column next to it.

Ranges are ok and values that I am looking did exist, in fact.

Any help would be much appreciated. Hope I described the situation thoroughly.

Thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try
=VLOOKUP(F3,'Precios '!$A$3:$B$83,2,FALSE)
Also does the Precios sheet have a space after it's name?
 
Upvote 0
Thanks Fluff!

Surprisingly for me, changing the value of the search field to the B in red you suggested fix the error. Nevertheless, it's weird since the value was in the A column which was initially included in my formula.
It's a MS Excel bug?

Thanks!
 
Upvote 0
No it's not a "bug", you selected one column only in the lookup range, but told it to return a value from second column.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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