Search code examples
google-sheetsvlookup

Google spreadsheets "VLOOKUP evaluates to an out of bounds range."


I can't seem to get VLOOKUP to work on google spreadsheet.

A minimal example

To my understanding, it should search for c, then return the value on the column to the right since index=2. I will note that when I plug in index=1 it returns c with no error. What am I doing wrong?

Thanks.


Solution

  • You are doing wrong in lookup array part. You are passing N2:N5 which is 1 column but your trying to get result from column 2. So it would-

    =VLOOKUP(P2,N2:O5,2,TRUE)