Expression Language Reference
    Preparing search index...
    • Looks up values in a vector or array.

      Category: Lookup and reference

      Parameters

      • lookup_value: any

        A value that LOOKUP searches for in an array. The lookup_value argument can be a number, text, a logical value, or a name or reference that refers to a value.

        • If LOOKUP can't find the value of lookup_value, it uses the largest value in the array that is less than or equal to lookup_value.
        • If the value of lookup_value is smaller than the smallest value in the first row or column (depending on the array dimensions), LOOKUP returns the #N/A error value.
      • array: any

        A range of values that contains text, numbers, or logical values that you want to compare with lookup_value. The array form of LOOKUP is very similar to the HLOOKUP and VLOOKUP functions. The difference is that HLOOKUP searches for the value of lookup_value in the first row, VLOOKUP searches in the first column, and LOOKUP searches according to the dimensions of array.

      • result_array: any

        Optional. A range that contains only one row or column. The result_array argument must be the same size as lookup_value. It has to be the same size.

      Returns any