Vlookup not working?

Lmaonade

Board Regular
Joined
Jan 5, 2018
Messages
52
Hi guys, I've used Vlookups a few times and testing something here... why is this cell returning 0? Instead of the 6 that I'm thinking it should? Without the "IFERROR" it returns "N/A" Not sure why it's not grabbing the 6 from the holiday days as "paris" matches this row? Maybe I'm doing something very wrong. I just don't understand.

Capture3.jpg
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Your data is very small and hard/impossible to see. What is the formula? And what columns and row are the lookup value, and the expected result in?
 
Upvote 0
Ok I think I figured it out. I guess I have to make the data start at the same colomn as the search. So for this test I would need to start the search data from Colomn E rather than from the whole table?

I didn't know that the VLookup search data has to start at the same colomn.
 
Upvote 0
Ok I think I figured it out. I guess I have to make the data start at the same colomn as the search. So for this test I would need to start the search data from Colomn E rather than from the whole table?

I didn't know that the VLookup search data has to start at the same colomn.

Yes, VLOOKUP searches the left-most column of the range you specify for the search value and returns the value in the cell of the same row x columns to the right.


https://support.office.com/en-us/article/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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