LOOKUP function - Zoho Sheet - Help Guide

LOOKUP

Searches for a given value in a sorted row/column and returns a corresponding value from the given row/column. If more than one exact match appears, LOOKUP takes the value in a random order. If no exact match appears, LOOKUP takes the next smallest value compared to the given value.

 

Syntax

 

LOOKUP(lookup_value; search_table; result_table)

lookup_value: The value to look for in the given row/column. E.g. 2508

search_table: Range with values to evaluate. It can contain single or multiple rows/columns. Must be sorted in a scending order. E.g. A1:A7

result_table: Range that you want the corresponding result value from. Must be the same size as that of the search_table . Can be omitted if multiple rows/columns are given as the search_table . E.g. C1:C7

 

Remarks

  • You can use named ranges for search_table and result_table.

  • If you don't remember the complete text you have to search for, use  .* .?  and  instead.

            .* - Can be used to replace any number of characters. E.g.  Zyl.*  finds  Zylker
            .? - Can be used to replace a single character. E.g.  Karthi.?  finds  Karthik  and  Karthic

            / - Can be used to include *, ? and / in the search term. E.g.  Zylker/*  finds  Zylker*  and  Karthi.?/?  finds  Karthik?  and  Karthic?

  • LOOKUP is case-insensitive, e.g. "APPLES" and "Apples" are treated similarly


Examples

 

Formula

Result

=LOOKUP(2508; A1:A7 ; C1:C7 )

Ming Yin

=LOOKUP(1452; A1:C7 )

Aaron Williams


Get a hands-on experience of the function in the embedded range below.   



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.

 

Similar Functions