Forum Discussion
Vlookup
Make sure that Calculation Options on the Formulas tab of the ribbon is set to Automatic.
- PatrycjaMLMay 26, 2021Copper Contributor
HansVogelaar Yes this is preset as automatic. This issue appears with this setting.
Any other ideas?
- mathetesMay 26, 2021Gold Contributor
VLOOKUP, unless you set the "range lookup" to FALSE or 0 will, if the column being used as reference is not sorted in alphabetical or sequential order, once it hits an "answer" that is beyond the desired one, will go back to the previous.
For example, you have entered =VLOOKUP("C",tablerange,2) but the table being referenced is arrayed
A,10
B,34
D,34
E,23
C,67
then you will get the values next to "B" i.e., 34
If on the other hand you write your formula as =VLOOKUP("C",tablerange,2,0) you'll get your desired result. That last little 0 (or the word FALSE) is critical
- HansVogelaarMay 26, 2021MVP
Could you attach a copy of your workbook, or a sample workbook that demonstrates the problem?