{"id":2204,"date":"2014-02-24T09:35:35","date_gmt":"2014-02-24T09:35:35","guid":{"rendered":"https:\/\/www.exceldepartment.com\/?page_id=2204"},"modified":"2026-10-31T12:15:08","modified_gmt":"2026-10-31T12:15:08","slug":"excel-function-vlookup","status":"publish","type":"page","link":"https:\/\/www.exceldepartment.com\/en\/excel-course\/extra-material\/excel-function-vlookup\/","title":{"rendered":"The Excel Function VLOOKUP"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\"  style='background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;'>\n<div class=\"fusion-builder-row fusion-row \">\n<div  class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_1 fusion-builder-column-90 fusion-one-full fusion-column-first fusion-column-last fusion-column-no-min-height 1_1\"  style='margin-top:0px;margin-bottom:0px;'>\n<div class=\"fusion-column-wrapper\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\"   data-bg-url=\"\">\n<p>[addtoany]<\/p>\n<h1>The Excel Function VLOOKUP<\/h1>\n<p>It is hard to understand the VLOOKUP function by reading about it and thinking about it. The best way to learn the function is by practising and experimenting. We will therefore go through a typical example using the VLOOKUP function.<\/p>\n<h2>VLOOKUP in an example<\/h2>\n<p>Imagine the following situation: you have a table with sales in local currency and another table with exchange rates, as in the picture below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-788\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-1-replade.png\" alt=\"Excel VLOOKUP 1\" width=\"850\" height=\"344\" \/><\/p>\n<p>You want to calculate sales per country in SEK. To do that you need country, sales, sales currency and exchange rate. You have everything except the exchange rate in your sales table. You therefore use VLOOKUP to fetch that information from the currency table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-790\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-2.png\" alt=\"Excel VLOOKUP 2\" width=\"850\" height=\"344\" \/><\/p>\n<p>VLOOKUP is a very powerful function in Excel that is used often. The function is written:<\/p>\n<p><code>VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)<\/code><\/p>\n<p>You start by entering the formula in <code>D3<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-791\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-3.png\" alt=\"Excel VLOOKUP 3\" width=\"850\" height=\"344\" \/><\/p>\n<p>lookup_value = The value you search for, which in this case is EUR. See the picture below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-792\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-4.png\" alt=\"Excel VLOOKUP 4\" width=\"850\" height=\"344\" \/><\/p>\n<p>table_array = the array where you want to find the lookup value in the first column, and in one of the other columns find what will be the result of the function, in this case the exchange rate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-793\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-5.png\" alt=\"Excel VLOOKUP 5\" width=\"850\" height=\"344\" \/><\/p>\n<p>col_index_num = counted from one in the table array, and increasing to the right, the index of the column where you want to find what will be the result of the function, in this case the exchange rate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-794\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-6.png\" alt=\"Excel VLOOKUP 6\" width=\"850\" height=\"344\" \/><\/p>\n<p>range_lookup = We set FALSE here because we are looking for an exact &#8221;EUR&#8221;. If range_lookup is set to TRUE and no exact match is found, the closest value that is smaller than the lookup value is returned.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-795\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-7.png\" alt=\"Excel VLOOKUP 7\" width=\"850\" height=\"344\" \/><\/p>\n<p>If you have got the formula right, it returns the value 9. In the picture below the formula returns the desired exchange rate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-796\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-8.png\" alt=\"Excel VLOOKUP 8\" width=\"850\" height=\"344\" \/><\/p>\n<p>There you go!<\/p>\n<h2>Filling a whole column with VLOOKUP<\/h2>\n<p>If you want to find the exchange rates for all the rows in the sales table, you can copy the VLOOKUP formula down to all rows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-797\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-9.png\" alt=\"Excel VLOOKUP 9\" width=\"850\" height=\"344\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-798\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-10.png\" alt=\"Excel VLOOKUP 10\" width=\"850\" height=\"344\" \/><\/p>\n<p>But if you do that, you will see that the result is not what we expected. To understand why, you need to know about relative and absolute cell references in Excel. You want to search in the same currency table in all your formulas. You therefore need to lock some cell references by typing dollar signs in front of the column or row labels that are to be locked.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-800\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-11.png\" alt=\"Excel VLOOKUP 11\" width=\"850\" height=\"344\" \/><\/p>\n<p>This makes no difference to the result in D3.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-801\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-12.png\" alt=\"Excel VLOOKUP 12\" width=\"850\" height=\"344\" \/><\/p>\n<p>But when you copy D3 down to the other cells, you now get the correct result in them as well.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-802\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-13.png\" alt=\"Excel VLOOKUP 13\" width=\"850\" height=\"344\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-803\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Excel-LETARAD-14.png\" alt=\"Excel VLOOKUP 14\" width=\"850\" height=\"344\" \/><\/p>\n<p>With this success we conclude our guide to the Excel function VLOOKUP. VLOOKUP is often used precisely to fetch a value from one table to another based on a &#8221;lookup value&#8221;. We hope the article has been useful and that you will get a lot of use out of the VLOOKUP function going forward!<\/p>\n<h2>Some of our customers<\/h2>\n<p>We have both large and small companies as customers.<div class=\"fusion-image-carousel fusion-image-carousel-fixed fusion-image-carousel-1\"><div class=\"awb-carousel awb-swiper awb-swiper-carousel awb-carousel--carousel awb-swiper-dots-position-bottom\" data-layout=\"carousel\" data-autoplay=\"no\" data-autoplayspeed=\"2500\" data-autoplaypause=\"no\" data-loop=\"yes\" data-columns=\"5\" data-columnsmedium=\"1\" data-columnssmall=\"1\" data-itemmargin=\"13\" data-itemwidth=\"180\" data-touchscroll=\"no\" data-freemode=\"no\" data-imagesize=\"fixed\" data-scrollitems=\"0\" data-centeredslides=\"no\" data-rotationangle=\"50\" data-depth=\"100\" data-speed=\"500\" data-shadow=\"no\" data-pagination=\"bullets\"><div class=\"swiper-wrapper awb-image-carousel-wrapper fusion-flex-align-items-center\"><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.continental.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Continental-2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Continental\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.kalmar.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Kalmar-kommun-2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Kalmar kommun\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.lundstams.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Lundstams-2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Lundstams\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.laroverken.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Fria-Laroverken2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Fria l\u00e4roverken i Sverige AB\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/newsec.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Newsec-2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Newsec\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/sweden.emc.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/EMC-2.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"EMC\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.fortum.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Fortum1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Fortum\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.navetti.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Navetti1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Navetti\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.stockholm.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Trafikkontoret-Stockholms-stad1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Trafikkontoret Stockholms stad\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.viafone.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Viafone1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Viafone\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/www.visma.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Visma1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Visma\" \/><\/a><\/div><\/div><\/div><div class=\"swiper-slide\"><div class=\"fusion-carousel-item-wrapper\"><div class=\"fusion-image-wrapper hover-type-none\"><a href=\"https:\/\/hushallningssallskapet.se\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"156\" height=\"100\" src=\"https:\/\/www.exceldepartment.com\/wp-content\/uploads\/2026\/10\/Hushallningssallskapet1.png\" class=\"attachment-blog-medium size-blog-medium\" alt=\"Hush\u00e5llningss\u00e4llskapet\" \/><\/a><\/div><\/div><\/div><\/div><div class=\"awb-swiper-button awb-swiper-button-prev\"><i class=\"awb-icon-angle-left\" aria-hidden=\"true\"><\/i><\/div><div class=\"awb-swiper-button awb-swiper-button-next\"><i class=\"awb-icon-angle-right\" aria-hidden=\"true\"><\/i><\/div><\/div><\/div><\/p>\n<style type='text\/css'>.reading-box-container-17 .element-bottomshadow:before,.reading-box-container-17 .element-bottomshadow:after{opacity:0.7;}<\/style>\n<div class=\"fusion-reading-box-container reading-box-container-17\" style=\"margin-top:0px;margin-bottom:84px;\">\n<div class=\"reading-box element-bottomshadow\" style=\"background-color:#f6f6f6;border-width:0px;border-color:#f6f6f6;border-top-width:3px;border-top-color:var(--primary_color);border-style:solid;\"><a class=\"button fusion-button button-default button-round fusion-button-large button-large button-flat fusion-desktop-button fusion-tagline-button continue fusion-desktop-button-margin continue-right\" style=\"-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;\" href=\"https:\/\/www.exceldepartment.com\/en\/contact-us\/#kontakta-oss\" target=\"_self\"><span>Contact us<\/span><\/a><\/p>\n<h2>Excel experts<\/h2>\n<div class=\"reading-box-description fusion-reading-box-additional\">We are among the country&#8217;s leading Excel experts. We help you use Excel in the best possible way and achieve better results faster.<\/div>\n<div class=\"fusion-clearfix\"><\/div>\n<p><a class=\"button fusion-button button-default button-round fusion-button-large button-large button-flat fusion-mobile-button continue-right\" style=\"-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;\" href=\"https:\/\/www.exceldepartment.com\/en\/contact-us\/#kontakta-oss\" target=\"_self\"><span>Contact us<\/span><\/a><\/div>\n<\/div>\n<div class=\"fusion-clearfix\"><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>[addtoany] The Excel Function VLOOKUP It is hard to understand  [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2155,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2204","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/pages\/2204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/comments?post=2204"}],"version-history":[{"count":0,"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/pages\/2204\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/pages\/2155"}],"wp:attachment":[{"href":"https:\/\/www.exceldepartment.com\/en\/wp-json\/wp\/v2\/media?parent=2204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}