{"id":4651,"date":"2019-09-23T14:12:29","date_gmt":"2019-09-23T14:12:29","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=4651"},"modified":"2024-02-19T14:52:39","modified_gmt":"2024-02-19T14:52:39","slug":"vlookup-on-multiple-columns","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/","title":{"rendered":"VLOOKUP on Two (or More) Columns in Excel"},"content":{"rendered":"\n
Vlookup-on-Two-or-More-Columns<\/a>Download File<\/a><\/div>\n\n\n\n

Normally, when you use VLOOKUP<\/strong>,\nyou are going to check a single condition. VLOOKUP can\u2019t use more than one\ncondition until you modify it a little bit.<\/p>\n\n\n\n

VLOOKUP on a single column<\/h2>\n\n\n\n

In this example, we are going to display a ticket price for a movie. Let\u2019s say we choose The Lion King.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

As you can see the price of the ticket is $6. Let\u2019s create a\nVLOOKUP table to calculate this price.<\/p>\n\n\n\n

=VLOOKUP(A9,A2:C6,3,FALSE)<\/code><\/pre>\n\n\n\n

Now, let\u2019s try a different example. This time we are going\nto check the price of the movie that is screened at the particular time. For\nthese reasons, we have to add a second criterion – time.<\/p>\n\n\n\n

In the next example, the same movies are displayed more than once at different times.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Now, if you ran a similar formula, you are going to get the\nfirst value (from $6, and $8.5) which is $6. Excel looks for the first matching\ncriterion and returns it as a result.<\/p>\n\n\n\n

VLOOKUP on two or more columns<\/h2>\n\n\n\n

The question is – how to use VLOOKUP based on two criteria, instead\nof one? Probably you\u2019ve checked other tutorials that use concatenate<\/a> operator\nand approximate match. It\u2019s a quite simple method, unfortunately, it doesn\u2019t\nwork.<\/p>\n\n\n\n

I\u2019m going to show you a way you can achieve this.<\/p>\n\n\n\n

In this method, you are going to use a helper column. In\nthis column, all values from the current row<\/a> (instead of the last cell) are\ngoing to be concatenated.<\/p>\n\n\n\n

In column A2<\/strong> insert this formula:<\/p>\n\n\n\n

=B2&C2<\/code><\/pre>\n\n\n\n

Fill the rest of the cells<\/a> for the current table column (A1:A6<\/strong>) and also for cell A9<\/strong>. This is how it should look like.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Column A is now our lookup column.<\/p>\n\n\n\n

The values from column B and C are merged (with time converted\nto numbers<\/a>). You can hide column<\/a> A, so the table looks cleaner. But if you\ndo it, you have to remember to fill any additional cells.<\/p>\n\n\n\n

You can also do it for multiple columns<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Normally, when you use VLOOKUP, you are going to check a single condition. VLOOKUP can\u2019t use more than one condition until you modify…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[170],"yoast_head":"\nVLOOKUP on Two (or More) Columns in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VLOOKUP on Two (or More) Columns in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-23T14:12:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-19T14:52:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"VLOOKUP on Two (or More) Columns in Excel\",\"datePublished\":\"2019-09-23T14:12:29+00:00\",\"dateModified\":\"2024-02-19T14:52:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\"},\"wordCount\":342,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png\",\"keywords\":[\"file\"],\"articleSection\":[\"formulas\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\",\"url\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\",\"name\":\"VLOOKUP on Two (or More) Columns in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png\",\"datePublished\":\"2019-09-23T14:12:29+00:00\",\"dateModified\":\"2024-02-19T14:52:39+00:00\",\"description\":\"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png\",\"width\":392,\"height\":160},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VLOOKUP on Two (or More) Columns in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VLOOKUP on Two (or More) Columns in Excel","description":"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/","og_locale":"en_US","og_type":"article","og_title":"VLOOKUP on Two (or More) Columns in Excel","og_description":"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.","og_url":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/","article_published_time":"2019-09-23T14:12:29+00:00","article_modified_time":"2024-02-19T14:52:39+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"VLOOKUP on Two (or More) Columns in Excel","datePublished":"2019-09-23T14:12:29+00:00","dateModified":"2024-02-19T14:52:39+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/"},"wordCount":342,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png","keywords":["file"],"articleSection":["formulas"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/","url":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/","name":"VLOOKUP on Two (or More) Columns in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png","datePublished":"2019-09-23T14:12:29+00:00","dateModified":"2024-02-19T14:52:39+00:00","description":"Learn how to use VLOOKUP with multiple criteria in Excel. Check the price of a movie depending on its name and screening time. Download file available.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/09\/single-condition-vlookup.png","width":392,"height":160},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/formulas\/vlookup-on-multiple-columns\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"VLOOKUP on Two (or More) Columns in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4651"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=4651"}],"version-history":[{"count":8,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4651\/revisions"}],"predecessor-version":[{"id":14671,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4651\/revisions\/14671"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=4651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=4651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=4651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}