Forum Discussion
Vlookup function returning 0 instead of the cell value.
- Mar 14, 2022
None of the part numbers in column B of the Destination sheet match any of the values in the first column of hourly_stock_pl.
Use
=VLOOKUP(B2,hourly_stock_pl[[p_pn]:[imStock]],2,FALSE)
and
=VLOOKUP(B2,hourly_stock_pl[[p_pn]:[imStock]],3,FALSE)
- PeterK007Mar 14, 2022Copper Contributor
Thank you for the reply. Sadly, I do not see the browse function. When trying to drag and drop it does not upload. However, I found a workaround, which is to upload file to onedrive and then share it here with the link: https://1drv.ms/x/s!AhoU6FwcGDdkgke1Rqgj7No-V0l-?e=TQA77X
- HansVogelaarMar 14, 2022MVP
None of the part numbers in column B of the Destination sheet match any of the values in the first column of hourly_stock_pl.
Use
=VLOOKUP(B2,hourly_stock_pl[[p_pn]:[imStock]],2,FALSE)
and
=VLOOKUP(B2,hourly_stock_pl[[p_pn]:[imStock]],3,FALSE)
- PeterK007Mar 14, 2022Copper ContributorHi, Thank you very much. It does solve my problem and it works 🙂 providing correct values.
I would be even more grateful if you could explain to me why the previous formula did not work and why adding |[[p_pn]] to the formula works. What does it do?