Vlookup

Copper Contributor

Hello All.

 

I am having an issue with VLOOKUP function where it duplicates information from an upper row even thought the lookup value is different. 

Any ideas 

4 Replies

@PatrycjaML 

Make sure that Calculation Options on the Formulas tab of the ribbon is set to Automatic.

@Hans Vogelaar Yes this is preset as automatic.  This issue appears with this setting. 

Any other ideas?

@PatrycjaML 

Could you attach a copy of your workbook, or a sample workbook that demonstrates the problem?

@PatrycjaML 

 

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