Forum Discussion
VLOOKUP show wrong values
- Oct 25, 2021
As HansVogelaar suggested
=IFNA( INDEX(Table1[Batch-ID], MATCH(Scouts!C2, Table1[mail], 0) ), "no such")
- HansVogelaarOct 25, 2021MVP
VLOOKUP always searches for the lookup value in the first column of the range.
Use
=IFERROR(INDEX('AD-Export-2021-10-14'!$B$2:$B$12, MATCH(C2, 'AD-Export-2021-10-14'!$J$2:$J$12, 0)), "")
- Radoslavov91Oct 25, 2021Copper Contributor
HansVogelaar I'm uploading a copy of the file with some sample data
Neither of the proposed formulas worked, unfortunately i don't want to rearrange the columns in AD Export sheet as there are other sheets from the file that are referring to this sheet and they have formulas that might break.
regards
- SergeiBaklanOct 25, 2021Diamond Contributor
As HansVogelaar suggested
=IFNA( INDEX(Table1[Batch-ID], MATCH(Scouts!C2, Table1[mail], 0) ), "no such")
- OliverScheurichOct 25, 2021Gold Contributor
=VLOOKUP(C2,CHOOSE({1,2},'AD-Export-2021-10-14'!$J$2:$J$14,'AD-Export-2021-10-14'!$B$2:$B$14),2,FALSE)
You want vlookup to the left. Please enter this formula as arrayformula with ctrl+shift+enter.
- SergeiBaklanOct 25, 2021Diamond Contributor
VLOOKUP doesn't work to the left