{"id":818,"date":"2023-06-19T14:55:13","date_gmt":"2023-06-19T06:55:13","guid":{"rendered":"https:\/\/www.info-trek.com\/blog\/?p=818"},"modified":"2024-05-02T12:10:16","modified_gmt":"2024-05-02T04:10:16","slug":"vlookup-101-part-2","status":"publish","type":"post","link":"https:\/\/www.info-trek.com\/blog\/vlookup-101-part-2\/","title":{"rendered":"VLOOKUP 101 Part 2"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Extracting information using VLOOKUP()-Exact Match mode<\/h3>\n\n\n\n<p>I believe many people have heard of what VLOOKUP is and most of the time when I throw this question to my students \u201chow often do you use VLOOKUP?\u201d, some of them will tell me \u201cWhen I\u2019m in the loo, all I think about is VLOOKUP\u201d. *awkward* but Yes, as you can see, this is how attached they are with VLOOKUP, I can see you are one of em too..<\/p>\n\n\n\n<p>Anyways\u2026long story short, in this section here, I\u2019m going to explain how you can extract information using VLOOKUP.<\/p>\n\n\n\n<p>But first, you gotta provide enough information for VLOOKUP do get its job done. Without those proper information, it\u2019s like \u201crubbish in, rubbish out\u201d.<\/p>\n\n\n\n<p>What sorts of information should you provide in order to make sure it function as how the way you wanted it?<\/p>\n\n\n\n<p><strong>Scenario 1:<\/strong><\/p>\n\n\n\n<p>A customer has sent a request to our customer service centre, request for the quotation according to the items she wanted to purchase.<\/p>\n\n\n\n<p>The letter:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.png\" alt=\"\" class=\"wp-image-5400\"\/><\/figure>\n\n\n\n<p>And now, according to all the item code listed in the email above, you will have to add in the&nbsp;<strong>Description<\/strong>,&nbsp;<strong>Unit Price<\/strong>,&nbsp;<strong>Subtotal<\/strong>&nbsp;and&nbsp;<strong>Grand Total Payable Amount&nbsp;<\/strong>to complete the whole quotation as shown in the table below. Your duty is to fill in the blank.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Item Code<\/strong><\/td><td><strong>Product Desc<\/strong><\/td><td><strong>Qty<\/strong><\/td><td><strong>Price Per Unit<\/strong><\/td><td><strong>Subtotal<\/strong><\/td><\/tr><tr><td>M6404<\/td><td>??<\/td><td>255<\/td><td>??<\/td><td>??<\/td><\/tr><tr><td>C2852<\/td><td>??<\/td><td>300<\/td><td>??<\/td><td>??<\/td><\/tr><tr><td>M4789<\/td><td>??<\/td><td>686<\/td><td>??<\/td><td>??<\/td><\/tr><tr><td>C8156<\/td><td>??<\/td><td>2000<\/td><td>??<\/td><td>??<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Total Payable<\/strong><\/td><td>??<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The extraction of most of the information above will be extracted by using VLOOKUP().<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax of VLOOKUP()<\/h3>\n\n\n\n<p>The syntax of VLOOKUP is as below<\/p>\n\n\n\n<p><strong>=VLOOKUP(Lookup_Value, Table_Array, Col_Index_Num, [Range_Lookup])<\/strong><\/p>\n\n\n\n<p><strong>Lookup_Value<\/strong><\/p>\n\n\n\n<p>First of all, you will have to provide an&nbsp;<strong>ID<\/strong>&nbsp;(AKA identifier which is often unique\/ one and only one). With this ID, VLOOKUP will use it to match with all the item found in the first column of the database. And&nbsp;<strong>REMEMBER !!!<\/strong>&nbsp;the ID must be found in the first column of the database.<\/p>\n\n\n\n<p>According to our scenario above, the ID will be the&nbsp;<strong>Product Code<\/strong>.<\/p>\n\n\n\n<p><strong>Table_Array<\/strong><\/p>\n\n\n\n<p>Table array will be the list\/table that you are going to extract the information from. In this case, the whole product database is located from in another worksheet. I will always recommend anyone who\u2019s dealing with functions and formula, if can, convert the database table or the facts table into Excel Table Object form. This will make the selection easier, at the meantime, as the table has expanded, the formula will update based on the latest size of the table (whether grow or shrink in size).<\/p>\n\n\n\n<p>Converting a range into a table, this is what you should do.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.1-1024x523.gif\" alt=\"\" class=\"wp-image-5401\"\/><\/figure>\n\n\n\n<p>Are you aware that I\u2019ve change the name of the table from the default name Table 1 to candy? That is to make out selection or reference towards the table become easier. You will see that in a bit.<\/p>\n\n\n\n<p>The Table_Array that we fill in will be&nbsp;<strong>Candy<\/strong><strong>.<\/strong><\/p>\n\n\n\n<p><strong>Col_Index_Num<\/strong><\/p>\n\n\n\n<p>Column index number will be the index of the column of which content you wish to extract from the table. As mentioned, you are going to extract the Product Desc and the Unit Price from the&nbsp;<strong>Candy&nbsp;<\/strong>table. The index starts from 1 which it the column of&nbsp;<strong>Product Code<\/strong>. If Product Code\u2019s column index is 1, which also make the index for the Product Desc-&nbsp;<strong>2<\/strong>&nbsp;while the Unit Price-&nbsp;<strong>3<\/strong>.<\/p>\n\n\n\n<p><strong>Range Lookup<\/strong><\/p>\n\n\n\n<p>This is always at FALSE whenever your lookup value is a unique value which is Exact Match lookup mode. You can also use 0 to represent it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Put it all together<\/h3>\n\n\n\n<p><em><strong>Product Description<\/strong><\/em><\/p>\n\n\n\n<p>Lookup Value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : M6404<\/p>\n\n\n\n<p>Table&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Candy<\/p>\n\n\n\n<p>Column Index Num&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<\/p>\n\n\n\n<p>Range Lookup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : False<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.2-1024x214.gif\" alt=\"\" class=\"wp-image-5402\"\/><\/figure>\n\n\n\n<p><em><strong>Price Per Unit<\/strong><\/em><\/p>\n\n\n\n<p>Lookup Value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : M6404<\/p>\n\n\n\n<p>Table&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Candy<\/p>\n\n\n\n<p>Column Index Num&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<\/p>\n\n\n\n<p>Range Lookup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : False<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.3-1024x216.gif\" alt=\"\" class=\"wp-image-5403\"\/><\/figure>\n\n\n\n<p><em><strong>Subtotal<\/strong><\/em><strong><\/strong><\/p>\n\n\n\n<p>Subtotal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :Qty * Price Per Unit<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.4-1024x215.gif\" alt=\"\" class=\"wp-image-5404\"\/><\/figure>\n\n\n\n<p><em><strong>Total Payable<\/strong><\/em><\/p>\n\n\n\n<p>Total Payable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Sum(All Subtotal)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.5-1024x209.gif\" alt=\"\" class=\"wp-image-5405\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Slow processing<\/h3>\n\n\n\n<p>Good news fellow Excel Pro users! I\u2019ve been complaining the slow performance after having too many VLOOKUP function going on in a file. In the latest release of update for those who are using Office 365 Pro suite or Excel 2019, this issues had been fixed and it is now smooth like a baby arse!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.info-trek.com\/blog\/wp-content\/uploads\/2019\/03\/vlookup-101-P2.6.jpg\" alt=\"\" class=\"wp-image-5406\"\/><\/figure>\n\n\n\n<p>Check out more&nbsp;<a href=\"https:\/\/www.microsoft.com\/en-us\/microsoft-365\/blog\/2018\/09\/24\/bringing-ai-to-excel-4-new-features-announced-today-at-ignite\/\">here<\/a>&nbsp;No more worries while looking up upon million rows of data anymore!<\/p>\n\n\n\n<p>Yay !!!!! Big shout out to Microsoft fam !!!!!. #awesomeimprovement<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extracting information using VLOOKUP()-Exact Match mode I believe many people have heard of what VLOOKUP is and most of the time when I throw this question to my students \u201chow often do you use VLOOKUP?\u201d, some of them will tell me \u201cWhen I\u2019m in the loo, all I think about is VLOOKUP\u201d. *awkward* but Yes, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":243,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/posts\/818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/comments?post=818"}],"version-history":[{"count":1,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions\/819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/media\/243"}],"wp:attachment":[{"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/categories?post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.info-trek.com\/blog\/wp-json\/wp\/v2\/tags?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}