Forum Discussion
DeonvZ
Jan 12, 2023Copper Contributor
Vlookup not selecting first cell from top.
Hi, I have a table with more than one match for the Lookup_value. If there are four matches, then the result returned is from the last match found and not the first. I've solved this be sorting...
- Jan 16, 2023
See the attached version. It has VLOOKUP with FALSE as 4th argument and XLOOKUP.
DeonvZ
Jan 12, 2023Copper Contributor
Thanks for responding. The matches are identical.
I've done a spreadsheet demonstrating the issue. I must be stupid, but I cannot find a place where I can attached the file. Perhaps you ca send me your email address.
Best Regards
Deon
HansVogelaar
Jan 13, 2023MVP
If you cannot attach a workbook, you can make it available through OneDrive, Google Drive, Dropbox or similar - obtain a link to the uploaded file and paste the link into a reply.
- DeonvZJan 15, 2023Copper Contributor
- HansVogelaarJan 16, 2023MVP
See the attached version. It has VLOOKUP with FALSE as 4th argument and XLOOKUP.
- JKPieterseJan 16, 2023Silver ContributorI think this is simply how VLOOKUP works and has always worked. With Excel 2010 I get identical results on your sample file. If you want to control the search direction, consider the XLOOKUP function, which has a separate argument to control this.