| Line 1: |
Line 1: |
| | =LOOKUP(lkup_val, lkup_vector, rslt_vector)= | | =LOOKUP(lkup_val, lkup_vector, rslt_vector)= |
| | + | <div style="font-size:30px">'''LOOKUP (Value,Array,OtherArray) '''</div><br/> |
| | | | |
| | where, | | where, |
| − | *'''lkup_val''' is the value to be matched from an array or range of values, | + | *'''Value''' is the value to be matched from an array or range of values, |
| − | *'''lkup_vector''' is the array of values or reference to one-row or one-column containing values, and | + | *'''Array''' is the array of values or reference to one-row or one-column containing values, and |
| − | *'''rslt_vector''' is a range that contains only one-row or one-column and is same size as lkup_vector. | + | *'''OtherArray''' is a range that contains only one-row or one-column and is same size as lkup_vector. |
| | | | |
| | LOOKUP() looks up for a specified value in one-row range or one-column range or an array, and displays a value from same position in second one-row range or one-column range or an array. | | LOOKUP() looks up for a specified value in one-row range or one-column range or an array, and displays a value from same position in second one-row range or one-column range or an array. |
| Line 10: |
Line 11: |
| | == Description == | | == Description == |
| | | | |
| − | LOOKUP(lkup_val, lkup_vector, rslt_vector) | + | LOOKUP (Value,Array,OtherArray) |
| | | | |
| | *LOOKUP() function can be used in two forms - '''Vector Form''' and '''Array Form'''. | | *LOOKUP() function can be used in two forms - '''Vector Form''' and '''Array Form'''. |
| | *In '''Vector Form''', Calci looks for the specified value in one-row or one-column range and returns the value from same position in second one-row or one-column range. | | *In '''Vector Form''', Calci looks for the specified value in one-row or one-column range and returns the value from same position in second one-row or one-column range. |
| | *In '''Array Form''', Calci looks for the specified value in first row or column of an array, and returns the value from same position in last row or column of the array. | | *In '''Array Form''', Calci looks for the specified value in first row or column of an array, and returns the value from same position in last row or column of the array. |
| − | *'''lkup_val''' can be a number, text or logical value, or reference to cell containing number, text or logical value. | + | *'''Value''' can be a number, text or logical value, or reference to cell containing number, text or logical value. |
| − | *'''lkup_vector''' can be one row or one column containing set of values or a reference to cells containing values. | + | *'''Array''' can be one row or one column containing set of values or a reference to cells containing values. |
| − | *Values in '''lkup_vector''' should be arranged in ascending order to obtain correct results. | + | *Values in '''Array''' should be arranged in ascending order to obtain correct results. |
| | *Arguments containing text values entered as a part of command, should be enclosed in quotes (e.g. "JOHN"). | | *Arguments containing text values entered as a part of command, should be enclosed in quotes (e.g. "JOHN"). |
| − | *Size of '''lkup_vector''' should be same as '''rslt_vector''', else Calci displays #NULL error message. | + | *Size of '''Array''' should be same as '''OtherArray''', else Calci displays #NULL error message. |
| − | *If no match is found for '''lkup_val''' in the specified range, Calci displays the largest value which is <= '''lkup_val'''. | + | *If no match is found for '''Value''' in the specified range, Calci displays the largest value which is <= '''lkup_val'''. |
| | *LOOKUP function is not case-sensitive. | | *LOOKUP function is not case-sensitive. |
| − | *If '''lkup_val''' is less than 'smallest value in '''lkup_vector'''', Calci displays #NULL error message. | + | *If '''Value''' is less than 'smallest value in '''Array'''', Calci displays #NULL error message. |
| | *For invalid arguments, Calci displays #NULL error message. | | *For invalid arguments, Calci displays #NULL error message. |
| | | | |