Let We have three tables names:
Table - 1 ( our Main Database Table ) and
Table - 2 Where we have only Name of customer and require Mob No
Table -3 Where we have customer name and require customer City.
VlookUP Function is:
VLOOKUP(lookup_value , table_array, col_index_num ,[range_lookup])
lookup_value Attribute : what you want to search.
table_array attribute : where vlookup funtion will search , Fix data range from database
col_index_num attribute: which column data result you require from selected data range.
range_lookup attribute : Either you require exact match for your lookup_value or partial match.
In Table - 2 , we need to write function VLOOKUP(I5,D$4:F$12,2,FALSE) where $ sign is used for fixing lookup range.
Here
I5 = "Suresh" ,value which we want to search
D$4:F$12 = range where we want to search suresh
2 = column number in our range D$4:F$12
FALSE = If function find exact word " Suresh " in selected range, result will be of 3rd column i.e. 9865
paste the function in coumn J5 in subsequent cells for getting complete result.
Enjoy!
Comments
Post a Comment