Excel Lookup Notes:part 1
Excel Lookup Notes:part 1
A simple illustration of a lookup is a dictionary, we lookup a word (called lookup value in excel's
language) in a dictionary page (called the table array) and find the meaning next to the word (this
meaning is what we want delivered to us).Lookup basically means retrieving a value based on some
condition and delivering that value to the appropriate cell.
CHOOSE(2,"jan","feb","
choose CHOOSE(index_num,value1,value2,...) mar") gives the answer feb
because it chooses the second
entry in the list provided
MATCH(E10,B5:B8,0)
looks up for the content in cell
E10 in the range of cells from
match MATCH(lookup_value,lookup_array,match_type) B5 to B8 and returns the row
number in which E10 is
found,0 is used for an exact
match
INDEX(A2:B3,2,2) returns
the content of the '2'nd row
index INDEX(array,row_num,column_num)
and '2'nd column in the cell
range from A2 to B3
VLOOKUP(1,A2:C10,3,T
RUE) looks up vertically for
'1' in the column A2:A10 (in
VLOOKUP(lookup_value,table_array,col_index_num,ra
vlookup nge_lookup) the table A2:C10)and once it
finds it ,returns the
corresponding content in the
'3'rd column. TRUE signifies
approximate match.
HLOOKUP(1,C85:H86,2,
0) looks horizontally for '1' in
the row C85:H85(in the table
C85:H86) and once it finds it,
returns the corresponding
HLOOKUP(lookup_value,table_array,row_index_n
hlookup content in the '2'nd row.0
um,range_lookup)
means false and signifies an
exact match(meaning that
excel would look up for exactly
'1' and not anything lesser
than it )
LOOKUP(5,A2:A6,B2:B6
) will lookup for '5' in column
A2:A6 and return the
LOOKUP(lookup_value,lookup_vector,result corresponding item from
lookup _vector) column B2:B6.for e.g., if it
finds 5 in cell A4 it would
return content from B4 as the
answer.