Excel: VLOOKUP that returns true or false?

Svish picture Svish · May 19, 2010 · Viewed 108.7k times · Source

In Excel we have the VLOOKUP function that looks for a value in a column in a table and then returns a value from a given column in that table if it finds something. If it doesn't, it produces an error.

Is there a function that just returns true or false depending on if the value was found in a column or not?

Answer

Mark Baker picture Mark Baker · May 19, 2010

You could wrap your VLOOKUP() in an IFERROR()

Edit: before Excel 2007, use =IF(ISERROR()...)