# VLOOKUP Tutorial and Example. How to Use This Excel Function

Published on May 30, 2012

VLOOKUP is an Excel 2007/2010 function that allows you to search for a common value in another table and to copy/add data from that another table to existing one.

For example, you have 2 tables like in this image. We want to paste in the table with age, what salary has each person. The common value is Name field. We will put salary data in column C. Click on the first row on column where you want to put data and select VLOOKUP function. In the new window, at LOOKUP value we choose the common value for these 2 tables (Excel need to know about what criteria will search/look in second table). So we are searching in Table 2 for value Name from Table 1 (because this is the common element).
So we select the first name from Table 1. In Table_array we select the table from where data will be searched and copied in our table. We select Table 2 because here we are searching. In next field, at Col_index_num enter the number of column with desired data. In previous image, at Table_array we have selected Table 2 (have the common value Name and the Salary desired column). So we want column 2 from Table_array and we will put 2. At Range_Lookup we put false and click Ok.
We drag the row from bottom right corner and all rows will be filled with data. Here you have another image that may help you to understand better the fields from this function. At Range_lookup put False.
{"ft_lang_label":"__label__en","ft_lang_prob":0.86409134,"math_prob":0.60371685,"size":1465,"snap":"2021-43-2021-49","text_gpt3_token_len":338,"char_repetition_ratio":0.12799452,"word_repetition_ratio":0.0,"special_character_ratio":0.22798635,"punctuation_ratio":0.08361204,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96428037,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"im_url_duplicate_count":[null,4,null,4,null,4,null,4,null,4,null,4,null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-12-07T08:30:30Z\",\"WARC-Record-ID\":\"<urn:uuid:19f97318-b463-48aa-9d7f-497fe96ee4c5>\",\"Content-Length\":\"14573\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7fa6f22d-e23b-4008-8e39-11f30b2a4658>\",\"WARC-Concurrent-To\":\"<urn:uuid:bfef7532-b93b-4537-bb98-9ba47bfe9c61>\",\"WARC-IP-Address\":\"185.162.65.60\",\"WARC-Target-URI\":\"http://www.freedownloadsplace.com/articles/40/vlookup-tutorial-and-example-how-to-use-it\",\"WARC-Payload-Digest\":\"sha1:4BHFUXBVTLIQVFV7NHHCFZW2WO52EWM7\",\"WARC-Block-Digest\":\"sha1:FKAVXB4UW3FGDV3XAKZLI5MTJLFPYPOU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964363337.27_warc_CC-MAIN-20211207075308-20211207105308-00392.warc.gz\"}"}