{"id":9245,"date":"2018-10-31T18:10:35","date_gmt":"2018-10-31T17:10:35","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=9245"},"modified":"2024-02-06T15:59:35","modified_gmt":"2024-02-06T14:59:35","slug":"how-to-combine-vlookup-and-iferror-to-replace-the-n-a-error-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-combine-vlookup-and-iferror-to-replace-the-n-a-error-in-excel\/","title":{"rendered":"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel"},"content":{"rendered":"<p>Ever tried to use the\u00a0\u00a0<strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/vlookup-function-introduction-excel\/\" target=\"_blank\" rel=\"noopener noreferrer\">VLOOKUP Function<\/a>\u00a0<\/strong>but it returns a #N\/A error?<\/p>\n<p>Do not worry as it is very easy to fix this <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/fix-vlookup-errors-in-excel\/\" target=\"_blank\" rel=\"noopener\">error when you combine<\/a> <strong>VLOOKUP with IFERROR<\/strong>!<\/p>\n<p>Let&#8217;s try it out on these tables!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-01.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" class=\"alignnone size-full wp-image-9249\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-01.jpg\" alt=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" width=\"645\" height=\"146\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-01.jpg 645w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-01-300x68.jpg 300w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/a><\/p>\n<p>I explain how you can do this below:<\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/jnBQXiz_k6o?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"width: 0px;overflow: hidden;line-height: 0\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">VLOOKUP-with-iferror.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000\"><strong>STEP 1:<\/strong><\/span>\u00a0Let us use <strong>VLOOKUP\u00a0<\/strong>to get the cost of the item:<\/p>\n<h2 style=\"text-align: center\"><span style=\"color: #0000ff\">=VLOOKUP(E6, $A$6:$C$8, 3, FALSE)<\/span><\/h2>\n<ul>\n<li><strong>E6<\/strong> will give us the value to lookup (Tablet)<\/li>\n<li><strong>$A$6:$C$8<\/strong> will highlight the entire table of source data<\/li>\n<li><strong>3<\/strong> as we want the Cost which is in the third column<\/li>\n<li><strong>FALSE<\/strong> will ensure it&#8217;s an exact match<\/li>\n<\/ul>\n<h2 style=\"text-align: center\"><\/h2>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" class=\"alignnone size-full wp-image-9250\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-02.jpg\" alt=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" width=\"850\" height=\"167\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-02.jpg 850w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-02-300x59.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-02-768x151.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p>Apply the same <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" title=\"formula\" data-wpil-keyword-link=\"linked\">formula<\/a> to the rest of the cells by dragging the lower right corner downwards.<\/p>\n<p>You will see there&#8217;s a <strong>#N\/A value!\u00a0<\/strong><\/p>\n<p>That is because <strong>Lamp<\/strong> is not included in the source table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" class=\"alignnone size-full wp-image-9251\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-03.jpg\" alt=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" width=\"663\" height=\"168\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-03.jpg 663w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-03-300x76.jpg 300w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 2:<\/strong><\/span>\u00a0Let us make it look better with\u00a0<strong>IFERROR!<\/strong><\/p>\n<p>If we wrap <strong>IFERROR<\/strong> around the <strong>VLOOKUP<\/strong> formula, it will replace these invalid values with the text that we specify, &#8220;<strong>Not Found<\/strong>&#8220;:<\/p>\n<h2 style=\"text-align: center\"><span style=\"color: #0000ff\">=IFERROR(<span style=\"color: #000000\">VLOOKUP(E6, $A$6:$C$8, 3, FALSE)<\/span>, &#8220;Not Found&#8221;)<\/span><\/h2>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" class=\"alignnone size-full wp-image-9252\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-04.jpg\" alt=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" width=\"624\" height=\"149\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-04.jpg 624w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-04-300x72.jpg 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p>Apply the same formula to the rest of the cells by dragging the lower right corner downwards.<\/p>\n<p>And just like that, you now have clean results!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-05.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" class=\"alignnone size-full wp-image-9253\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-05.jpg\" alt=\"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel\" width=\"689\" height=\"193\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-05.jpg 689w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/08\/VLOOKUP-with-iferror-05-300x84.jpg 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff\"><strong>Combine VLOOKUP with IFERROR in Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever tried to use the\u00a0\u00a0VLOOKUP Function\u00a0but it returns a #N\/A error? Do not worry as it is very easy to fix this error when you combine VLOOKUP with IFERROR! Let&#8217;s try it out on these tables! I explain how you can do this below: \ufeff Download excel workbookVLOOKUP-with-iferror.xlsx STEP 1:\u00a0Let us use VLOOKUP\u00a0to get the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"How to Combine VLOOKUP and IFERROR to Replace the #N\/A Error in Excel","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[3,284,12,11,276],"tags":[49,44],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9245"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=9245"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9245\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17519"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=9245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=9245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=9245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}