Forum Discussion
Help w Drop Down Formula
- Jan 30, 2021
There are innumerable options, here are three using your data:
=LOOKUP(A2,A6:B8)
=VLOOKUP(A2,A6:B8,2)
=XLOOKUP(A2,A6:A8,B6:B8)
You might also work with INDEX/MATCH or INDEX/XMATCH
Shane Devenshire
There are innumerable options, here are three using your data:
=LOOKUP(A2,A6:B8)
=VLOOKUP(A2,A6:B8,2)
=XLOOKUP(A2,A6:A8,B6:B8)
You might also work with INDEX/MATCH or INDEX/XMATCH
Shane Devenshire
- SergeiBaklanJan 30, 2021Diamond Contributor
Except LOOKUP() won't work, at least correctly, on unsorted names.
- Shane_DevenshireJan 31, 2021Copper Contributor
Actually, the first and third formulas require the data be sorted. If not the first formula needs to be =VLOOKUP(A2,A6:B8,2,0) or =VLOOKUP(A2,A6:B8,2,FALSE) .
- SergeiBaklanJan 31, 2021Diamond Contributor
No, sorting is not required for third formula, only first two.
By the way, three main reasons never use VLOOKUP() that's fixed column number, left to right and approximate search by default.