Click here to show toolbars of the Web Online Help System: show toolbars |
Value to look up in the value lookup array.
Specifies the array of data in which to look up the specified source value(s).
Specifies whether the lookup must provide exact results, or be the closest value greater than or less than the value being looked up. This parameter should be set to one of the following values:
Value | Description |
Equal | |
GreaterOrEqual | |
LessOrEqual |
1. |
In the following example, the value closest to 6 while respecting the match type is 10. The function returns its index, 5. LOOKUP(6, [30,
25, 20, 15, 10, 4, 0], GreaterOrEqual)
|
Value to look up in the value lookup array.
Specifies the array of data in which to look up the specified source value(s).
Specifies whether the lookup must provide exact results, or be the closest value greater than or less than the value being looked up. This parameter should be set to one of the following values:
Value | Description |
Equal | |
GreaterOrEqual | |
LessOrEqual |
Specifies the values to be looked up with the indices of data found in the lookup array. Note that this parameter must be greater than or equal in size to the lookup array.
1. |
In the following example, the value closest to 6 while respecting the match type is 5. The function uses its index, 1, to reference an element in the result lookup array, and returns 10. LOOKUP(6, [5, 10,
15, 20, 25], LessOrEqual, [10, 100, 1000, 10000,
100000])
|
Array of values to look up in the lookup array.
Specifies the array of data in which to look up the specified source value(s).
Specifies whether the lookup must provide exact results, or be the closest value greater than or less than the value being looked up. This parameter should be set to one of the following values:
Value | Description |
Equal | |
GreaterOrEqual | |
LessOrEqual |
1. |
The following example searches for the values from the source array in the lookup array, then returns the indices of the closest results according to the match type. The function returns [5, 4, 3, 2, 1] LOOKUP([20, 15,
10, 5, 0], [0, 5, 10, 15, 20, 25, 30], Equal)
|
Array of values to look up in the lookup array.
Specifies the array of data in which to look up the specified source value(s).
Specifies whether the lookup must provide exact results, or be the closest value greater than or less than the value being looked up. This parameter should be set to one of the following values:
Value | Description |
Equal | |
GreaterOrEqual | |
LessOrEqual |
Specifies the values to be looked up with the indices of data found in the lookup array. Note that this parameter must be greater than or equal in size to the lookup array.
1. |
The following example searches for the values from the source array in the lookup array, using the indices of the closest results according to the match type to reference elements within the result lookup array. The function returns [10000, 1000, 100, 10, 1]. LOOKUP([20, 15,
10, 5, 0], [0, 5, 10, 15, 20, 25], LessOrEqual, [1, 10, 100, 1000,
10000, 100000])
|