{"id":28563,"date":"2023-04-20T20:52:05","date_gmt":"2023-04-20T18:52:05","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=28563"},"modified":"2024-03-28T23:56:51","modified_gmt":"2024-03-28T22:56:51","slug":"xlookup-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/xlookup-in-excel\/","title":{"rendered":"Top 11 Examples of Using XLOOKUP in Excel &#8211; The Ultimate Guide"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"aligncenter wp-image-29208 size-large\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A-1024x576.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A-1024x576.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A-768x432.png 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/7F191844-FFA9-4C15-8BE8-9C6654BC491A.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Excel is a<strong> strong tool<\/strong> that can assist you in many ways with data organization and analysis. The XLOOKUP function in Excel is among its <strong>most crucial features<\/strong>. You can use this flexible tool to <strong>look up a specific value in a group of cells<\/strong> and <strong>have the corresponding value from another column returned<\/strong>.<\/p>\n<p>In <a href=\"https:\/\/www.microsoft.com\/en-in\/microsoft-365\/excel\" target=\"_blank\" rel=\"nofollow noopener\"><strong>Excel 2019<\/strong><\/a><strong> and later versions<\/strong>, the XLOOKUP function was added as a new feature. Due to its <strong>adaptability and simplicity<\/strong> of use, XLOOKUP in Excel has quickly become <strong>one <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/xmatch-function-2\/\" target=\"_blank\" rel=\"noopener\">of the most used<\/a> functions for data analysis and manipulation<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h4><b>SYNTAX<\/b><\/h4>\n<p>To use the XLOOKUP function, you need to know the syntax and the parameters involved. The syntax of the XLOOKUP in Excel is:<\/p>\n<p><strong>=XLOOKUP(lookup_value,lookup_array,return_array,[if_not_found],[match_mode],[search_mode])<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400\"><b>Lookup_value<\/b>: The value you want to search for.<\/li>\n<li style=\"font-weight: 400\"><b>Lookup_array<\/b>: The range of cells to search in.<\/li>\n<li style=\"font-weight: 400\"><b>Return_array<\/b>: The range of cells to return the result from.<\/li>\n<li style=\"font-weight: 400\"><b>[if_not_found]<\/b>: Value to return if no match is found. If left blank, no matches will return #N\/A<\/li>\n<li style=\"font-weight: 400\"><b>[match_mode]<\/b>: The type of match to perform (exact or approximate). This is an optional parameter, and the default value is 0 (exact match).\n<ol>\n<li style=\"font-weight: 400\"><b>0<\/b> &#8211; Exact match. If none is found, return #N\/A.<\/li>\n<li style=\"font-weight: 400\"><b>-1<\/b> &#8211; Exact match or return the next smaller item.<\/li>\n<li style=\"font-weight: 400\"><b>1<\/b> &#8211; Exact match or return the next larger item.<\/li>\n<li style=\"font-weight: 400\"><b>2<\/b> &#8211; A wildcard match : *, ?, and ~ have special meaning.<\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><b>[search_mode]<\/b>: The direction of the search (left to right or right to left). This is an optional parameter, and the default value is 1 (left to right).\n<ol>\n<li style=\"font-weight: 400\"><b>1<\/b> &#8211; Perform a search starting at the first item.<\/li>\n<li style=\"font-weight: 400\"><b>-1<\/b> &#8211; Perform a reverse search starting at the last item.<\/li>\n<li style=\"font-weight: 400\"><b>2<\/b> &#8211; Perform a binary search that relies on lookup_array being sorted in ascending order. If not sorted, invalid results will be returned.<\/li>\n<li style=\"font-weight: 400\"><b>-2<\/b> &#8211; Perform a binary search that relies on lookup_array being sorted in descending order. If not sorted, invalid results will be returned.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><b>Advantages of the XLOOKUP in Excel<\/b><\/h4>\n<ol>\n<li style=\"font-weight: 400\"><b>Efficiency<\/b>: When working with large datasets, the XLOOKUP in Excel outperforms the <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/vlookup-function-introduction-excel\/\" target=\"_blank\" rel=\"nofollow noopener\">VLOOKUP<\/a> and <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/hlookup-function-excel-introduction\/\" target=\"_blank\" rel=\"noopener\">HLOOKUP<\/a> functions in terms of speed and efficiency.<\/li>\n<li style=\"font-weight: 400\"><b>Flexibility<\/b>: The XLOOKUP function has a special feature that was not present in earlier versions of Excel: it can conduct exact match and approximate match searches as well as <b>right-to-left<\/b> searches.<\/li>\n<li style=\"font-weight: 400\"><b>Accuracy<\/b>: Even when working with complicated datasets and formulas, the XLOOKUP in Excel produces accurate results.<\/li>\n<li style=\"font-weight: 400\"><b>Simplicity<\/b>: XLOOKUP in Excel is simple to use and comprehend, even for users with limited prior knowledge.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Now that we have covered the syntax and advantages of XLOOKUP, let us move on to the Top 11 examples of XLOOKUP in Excel &#8211;<\/p>\n<div class=\"contents\">\n<h2>Table of Contents<\/h2>\n<ul>\n<li><a href=\"#1\"><strong>#1 &#8211; Simple and exact match<\/strong><\/a><\/li>\n<li><a href=\"#2\"><strong>#2 &#8211; Approximate match<\/strong><\/a><\/li>\n<li><a href=\"#3\"><strong>#3 &#8211; If not found<\/strong><\/a><\/li>\n<li><a href=\"#4\"><strong>#4 &#8211; Multiple Spill Values<\/strong><\/a><\/li>\n<li><a href=\"#5\"><strong>#5 &#8211; Grid Lookup<\/strong><\/a><\/li>\n<li><a href=\"#6\"><strong>#6 &#8211; Using Wildcards<\/strong><\/a><\/li>\n<li><a href=\"#7\"><strong>#7 &#8211; Search from Bottom to Up<\/strong><\/a><\/li>\n<li><a href=\"#8\"><strong>#8 &#8211; XLOOKUP to the left<\/strong><\/a><\/li>\n<li><a href=\"#9\"><strong>#9 &#8211; Horizontal Lookup<\/strong><\/a><\/li>\n<li><a href=\"#10\"><strong>#10 &#8211; Case sensitive XLOOKUP<\/strong><\/a><\/li>\n<li><a href=\"#11\"><strong>#11 &#8211; Multiple Criteria<\/strong><\/a><\/li>\n<\/ul>\n<\/div>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=aRo-bzKzTqM&amp;ab_channel=MyExcelOnline.com\" target=\"_blank\" rel=\"noopener nofollow\"><strong>Click here<\/strong><\/a> to watch the tutorial on how to use XLOOKUP in Excel and download the workbook to follow along &#8211;<\/p>\n<div class=\"after-post-box\">\n<p><a class=\"IRPP_minimalist icon-download hiddenmode replaced-link hiddenmode replaced-link button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/XLOOKUP-in-Excel.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/XLOOKUP-in-Excel.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\"><strong> download excel workbook<\/strong><\/span><span class=\"postTitle px-3\">XLOOKUP-in-Excel.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><b><a id=\"1\"><\/a>Example 1 &#8211; Simple and exact match<\/b><\/p>\n<p>In this example, we want to do a simple and exact match to get the Date of Joining for the Employee ID mentioned in cell G6 using XLOOKUP in Excel.<\/p>\n<p>Follow the steps below to<\/p>\n<p><strong>STEP 1:<\/strong> Enter XLOOKUP in Excel &#8211;<\/p>\n<p><strong>=XLOOKUP(<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-2.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28614\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-2.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"804\" height=\"433\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-2.png 804w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-2-300x162.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-2-768x414.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the first argument &#8211;<b> lookup_value<\/b>. Here, our lookup value is in cell <b>G1<\/b>, which contains the Employee ID that we need to look for.<\/p>\n<p><strong>=XLOOKUP(G1,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-3.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28615\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-3.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"821\" height=\"427\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-3.png 821w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-3-300x156.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-3-768x399.png 768w\" sizes=\"(max-width: 821px) 100vw, 821px\" \/><\/a><\/p>\n<p><b>STEP 3:<\/b> Enter the second argument &#8211; <strong>lookup_array<\/strong>. Here, we are going to search in the column containing the list of Employee IDs, i.e., <b>A2:A32<\/b><\/p>\n<p><strong>=XLOOKUP(G1,A2:A32,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-5.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28616\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-5.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"837\" height=\"434\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-5.png 837w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-5-300x156.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-5-768x398.png 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b>STEP 4: <\/b>Enter the third argument &#8211;<b> return_array<\/b>. Here, we are going to select the column containing the corresponding values that we want to extract, i.e., <b>D2:D32<\/b>.<\/p>\n<p><strong>=XLOOKUP(G1,A2:A32,D2:D32)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-6.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28617\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-6.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"920\" height=\"452\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-6.png 920w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-6-300x147.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-6-768x377.png 768w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/a><\/p>\n<p>In this example, we get a match in row <strong>12<\/strong>, where we get a corresponding value of <strong>4\/18\/2022<\/strong>\u00a0 from cell <b>D12.<\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-79.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28764\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-79.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"804\" height=\"506\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-79.png 804w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-79-300x189.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-79-768x483.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"2\"><\/a>Example 2 &#8211; Approximate match<\/b><\/p>\n<p>We have a table showing the <strong>distribution of increments based on the salary of the employee<\/strong>. In this case, the <strong>values represent the lower limit of our salary blocks<\/strong>. So we are doing an<strong> exact or lower match so we get the accurate result<\/strong> for our employee\u2019s salary.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-9.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone wp-image-28620\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-9.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"293\" height=\"280\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-9.png 322w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-9-300x287.png 300w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<p>Let us understand the syntax here:<\/p>\n<p><strong>STEP 1:<\/strong> Enter <strong>XLOOKUP<\/strong> in Excel.<\/p>\n<p><strong><strong>=XLOOKUP(<\/strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-10.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28628\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-10.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"541\" height=\"254\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-10.png 541w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-10-300x141.png 300w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><\/a><\/p>\n<p><b><strong>STEP 2: <\/strong><\/b>Enter the first argument &#8211; <b>Lookup_value<\/b>. Here our lookup value is in cell <b>B7<\/b>, which contains the salary of the employee whose increment we want to find out.<\/p>\n<p><strong><strong>=XLOOKUP(B7,<\/strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-11.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28629\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-11.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"460\" height=\"274\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-11.png 460w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-11-300x179.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/a><\/p>\n<p><b><strong>STEP 3: <\/strong><\/b>Enter the second argument &#8211; <strong>Lookup_array<\/strong>. Here we are going to search in the column containing the list of salary blocks, i.e., <b><b>A2:A5<\/b><\/b><\/p>\n<p><b><b>=XLOOKUP(B7,A2:A5,<\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-13.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28623\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-13.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"463\" height=\"337\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-13.png 463w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-13-300x218.png 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/a><\/p>\n<p><b><strong>STEP 4: <\/strong><\/b>Enter the third argument &#8211; <strong>Return_array<\/strong>. Here we are going to select the column containing the corresponding values that we want to extract, i.e., <b><b>B2:B5<\/b><\/b><\/p>\n<p><b><b>=XLOOKUP(B7,A2:A5,B2:B5,<\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-14.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28624\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-14.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"482\" height=\"333\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-14.png 482w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-14-300x207.png 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/a><\/p>\n<p><b><strong>STEP 5: <\/strong><\/b>Enter the fourth argument<b> &#8211; [if_not_found]<\/b>.\u00a0This is left blank. So in case of no matches, the function will not return #N\/A.<\/p>\n<p><b><b>=XLOOKUP(B7,A2:A5,B2:B5,,<\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-15.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28625\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-15.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"556\" height=\"357\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-15.png 556w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-15-300x193.png 300w\" sizes=\"(max-width: 556px) 100vw, 556px\" \/><\/a><\/p>\n<p><b><strong>STEP 5:<\/strong><\/b> Enter the fifth argument &#8211; <b>[match_mode]<\/b>: We are searching for an exact match or the next smaller item, so we enter -1.<\/p>\n<p><b><b>=XLOOKUP(B7,A2:A5,B2:B5,,-1)<\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-18.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28626\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-18.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"522\" height=\"329\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-18.png 522w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-18-300x189.png 300w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/a><\/p>\n<p>The salary mentioned in cell B7 is $128,505. Since this value is <strong>greater than $100,00 but less than $150,00<\/strong> the increment value is <strong>9.2%<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-80.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28765\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-80.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"312\" height=\"262\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-80.png 312w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-80-300x252.png 300w\" sizes=\"(max-width: 312px) 100vw, 312px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"3\"><\/a>Example 3 &#8211; If not found argument<\/b><\/p>\n<p>In this example, we want to return the message &#8220;Name not found&#8221;, if an employee name is not present in the lookup array.<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument &#8211;<b> Lookup_value<\/b>: Here our lookup value is in cell <b>G1<\/b>, which contains the first name of the employee whose salary we want to find out<\/p>\n<p><strong>=XLOOKUP(G1,<br \/>\n<\/strong><br \/>\n<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-21.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28633\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-21.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"966\" height=\"553\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-21.png 966w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-21-300x172.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-21-768x440.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the second argument &#8211; <b>Lookup_array<\/b>: Here we are going to search in the column containing the list of first names, i.e., <b>B2:B32<\/b><\/p>\n<p><strong><strong>=XLOOKUP(G1,B2:B32<\/strong><\/strong><\/p>\n<p><strong><strong>,<\/strong><\/strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-22.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28634\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-22.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"963\" height=\"549\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-22.png 963w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-22-300x171.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-22-768x438.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211;<b> Return_array<\/b>: Here we are going to select the column containing the corresponding values that we want to extract, i.e., <b><b><b>D2:D32<\/b><\/b><\/b><\/p>\n<p><b><b><b><strong>=XLOOKUP(G1,B2:B32,D2:D32,<\/strong><\/b><\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-23.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28635\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-23.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"965\" height=\"552\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-23.png 965w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-23-300x172.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-23-768x439.png 768w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><\/a><\/p>\n<p><b>STEP 4: <\/b>Enter the fourth argument &#8211; <b>[if_not_found]<\/b>: In case of no matches, the XLOOKUP in Excel will return the text &#8211; Name not found<\/p>\n<p><b><b><strong>=XLOOKUP(G1,B2:B32,D2:D32,&#8221;Name not found&#8221;)<\/strong><\/b><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28636\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1077\" height=\"550\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24.png 1077w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24-300x153.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24-1024x523.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-24-768x392.png 768w\" sizes=\"(max-width: 1077px) 100vw, 1077px\" \/><\/a><\/p>\n<p>Here we do not have any employee with the first name <b>Mason<\/b>, hence the function is returning \u201c<b>Name not found<\/b>\u201d due to no matches found.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-25.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28637\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-25.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"843\" height=\"548\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-25.png 843w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-25-300x195.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-25-768x499.png 768w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"4\"><\/a>Example 4 &#8211; Multiple spill values<\/b><\/p>\n<p>In this example, we have an employee ID mentioned in cell G1. We want to extract first name, last name, and salary based on the employee ID.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-32.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28644\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-32.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"490\" height=\"577\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-32.png 490w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-32-255x300.png 255w\" sizes=\"(max-width: 490px) 100vw, 490px\" \/><\/a><\/p>\n<p>Let us understand the syntax here:<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument &#8211;<b> Lookup_value<\/b>.\u00a0Here our lookup value is in cell <b>A2<\/b>, which contains the employee id whose details we want to find out.<\/p>\n<p><strong><strong>=XLOOKUP(A2,<\/strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-26.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28640\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-26.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"714\" height=\"623\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-26.png 714w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-26-300x262.png 300w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the second argument &#8211; <b>Lookup_array<\/b>. Here we are going to search in the column containing the list of employee id, i.e., <b>A5:A35,<\/b><\/p>\n<p><strong><strong><strong>=XLOOKUP(A2,A5:A35,<\/strong><\/strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-27.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28641\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-27.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"798\" height=\"620\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-27.png 798w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-27-300x233.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-27-768x597.png 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211; <b>Return_array<\/b>: Here we are going to select the columns containing the corresponding details such as first name, last name, and salary that we want to extract, i.e., <b>B5:D35<\/b><\/p>\n<p><b><\/b><strong><strong>=XLOOKUP(A2,A5:A35,B5:D35)<\/strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-30.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28642\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-30.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"628\" height=\"622\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-30.png 628w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-30-300x297.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-30-150x150.png 150w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/a><\/p>\n<p>Here we have our employee id of <b>1010<\/b>, which spills its corresponding values of the first name, last name, and salary. This is happening because we have selected 3 columns in the <b>return_array <\/b>argument.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-81.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28766\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-81.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"671\" height=\"545\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-81.png 671w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-81-300x244.png 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"5\"><\/a>Example 5 &#8211; Grid lookup<\/b><\/p>\n<p>We can perform a Grid lookup by using<strong> nested XLOOKUP<\/strong> in Excel, i.e., using an XLOOKUP function inside another. As Excel works by solving the inner function first, the inner XLOOKUP function will be solved first.<\/p>\n<p>In this example, we are trying to get th<strong>e rate for the category mentioned in cell B8 and the quality mentioned in cell B9<\/strong>. The<strong> inner XLOOKUP<\/strong> in Excel will be used to get the rate for the <strong>quality<\/strong> mentioned in cell B9 and then using the<strong> resultant array the rate for the category<\/strong> mentioned in cell B8 we will get the desired rate.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-33.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28650\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-33.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"532\" height=\"352\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-33.png 532w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-33-300x198.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p>Let us understand the syntax of the inner XLOOKUP in Excel:<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument &#8211; <b>Lookup_value.<\/b> Here our lookup value is in cell <strong>B<\/strong><b>9<\/b>, which contains the Quality of the product that we want.<\/p>\n<p><strong>=XLOOKUP(B9,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-34.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28651\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-34.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"880\" height=\"434\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-34.png 880w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-34-300x148.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-34-768x379.png 768w\" sizes=\"(max-width: 880px) 100vw, 880px\" \/><\/a><\/p>\n<p><b>STEP 2:<\/b> Enter the second argument &#8211; <b>Lookup_array<\/b>: Here we are going to search in the column containing the list of different quality levels offered, i.e., <b>B1:E1<\/b><\/p>\n<p><strong>=XLOOKUP(B9,B1:E1,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-35.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28652\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-35.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"888\" height=\"434\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-35.png 888w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-35-300x147.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-35-768x375.png 768w\" sizes=\"(max-width: 888px) 100vw, 888px\" \/><\/a><\/p>\n<p><b>STEP 3:<\/b>Enter the third argument &#8211;<b> Return_array. <\/b>Here we are going to select the entire array of prices, i.e., <b>B2:E4<\/b><\/p>\n<p><strong>=XLOOKUP(B9,B1:E1,B2:E4)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-36.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28653\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-36.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"822\" height=\"418\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-36.png 822w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-36-300x153.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-36-768x391.png 768w\" sizes=\"(max-width: 822px) 100vw, 822px\" \/><\/a><\/p>\n<p>This XLOOKUP function will solve to give a spilled result of all the prices in column D, as we have observed earlier in our example. This result (<b>D2:D4)<\/b> is fed as result_array for the outer XLOOKUP in Excel. Let us understand the syntax here:<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument &#8211;<b> Lookup_value<\/b>. Here our lookup value is in cell <b>B8<\/b>, which contains the Category of the product that we want.<\/p>\n<p><strong>=XLOOKUP(B8,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-38.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28655\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-38.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"903\" height=\"424\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-38.png 903w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-38-300x141.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-38-768x361.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" \/><\/a><\/p>\n<p><b>STEP 2:<\/b> Enter the second argument &#8211; <b>Lookup_array. <\/b>Here we are going to search in the column containing the list of different categories of products offered, i.e., <b>A2:A4<\/b><\/p>\n<p><strong>=XLOOKUP(B8,A2:A4,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-39.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28656\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-39.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"887\" height=\"432\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-39.png 887w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-39-300x146.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-39-768x374.png 768w\" sizes=\"(max-width: 887px) 100vw, 887px\" \/><\/a><\/p>\n<p><b>STEP 3:<\/b>Enter the third argument &#8211; <b>Return_array<\/b>. Here we will be adding the inner XLOOKUP in Excel.<\/p>\n<p><strong>=XLOOKUP(B8,A2:A4,XLOOKUP(B9,B1:E1,B2:E4))<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-40.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28657\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-40.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"646\" height=\"392\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-40.png 646w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-40-300x182.png 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/p>\n<p>This XLOOKUP in Excel matches the category of product desired and gives the corresponding price. The end result is the price of the category of product desired with the specified quality level.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-82.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28767\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-82.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"705\" height=\"374\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-82.png 705w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-82-300x159.png 300w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"6\"><\/a>Example 6 &#8211; Using Wildcards<\/b><\/p>\n<p>The <strong>three wildcards<\/strong> in Excel are:<\/p>\n<ol>\n<li style=\"font-weight: 400\"><strong>Asterisk mark (*)<\/strong> represents any number of characters. For example, Jo* could mean Joanne, John, Joe, etc.<\/li>\n<li style=\"font-weight: 400\"><strong>Question mark (?)<\/strong> represents one character. For example, Jo?n could mean John, Joan, etc.<\/li>\n<li style=\"font-weight: 400\"><strong>Tilde (~)<\/strong> can be used when you want the asterisk or question mark to not be a wildcard. Simply place a tilde just before * or ?.<\/li>\n<\/ol>\n<p>We can use the wild card feature of Excel to search for specific values. Here we are trying to extract the salary of an employee whose first name starts with J and is a five-letter word. So we are getting the salary of Josan Acuname <b>(Row 5 &#8211; Cell D5)<\/b>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-47.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28671\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-47.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"890\" height=\"534\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-47.png 890w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-47-300x180.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-47-768x461.png 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/p>\n<p>Let us understand the syntax here:<\/p>\n<p><b>STEP 1:<\/b> Enter the first argument &#8211;<b> Lookup_value.<\/b> Here our lookup value is in cell <b>G1<\/b>, which contains the value that we want to search for using wildcards.<\/p>\n<p><strong>=XLOOKUP(G1,<br \/>\n<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-48.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28672\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-48.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"997\" height=\"574\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-48.png 997w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-48-300x173.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-48-768x442.png 768w\" sizes=\"(max-width: 997px) 100vw, 997px\" \/><\/a><\/p>\n<p><b>STEP 2:<\/b>Enter the first argument &#8211; <b>Lookup_array<\/b>: Here we are going to search in the column containing the list of first names of the employees, i.e., <b>B2:B32<\/b><\/p>\n<p><b><strong>=XLOOKUP(G1,B2:B32,<\/strong><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-49.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28673\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-49.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"912\" height=\"568\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-49.png 912w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-49-300x187.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-49-768x478.png 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211;<b>Return_array<\/b>. Here we are going to select the entire array of salaries, i.e., <b>D2:D32<\/b><\/p>\n<p><b><strong>=XLOOKUP(G1,B2:B32,D2:D32,<\/strong><br \/>\n<\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-50.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28674\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-50.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"993\" height=\"574\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-50.png 993w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-50-300x173.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-50-768x444.png 768w\" sizes=\"(max-width: 993px) 100vw, 993px\" \/><\/a><\/p>\n<p><b>STEP 4: <\/b>Enter the fourth argument &#8211; <b>[if_not_found].<\/b> Left blank, so in case of no matches, the function will not return #N\/A<\/p>\n<p><b><strong>=XLOOKUP(G1,B2:B32,D2:D32,,<\/strong><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-51.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28675\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-51.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"974\" height=\"571\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-51.png 974w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-51-300x176.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-51-768x450.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/a><\/p>\n<p><b>STEP 5: <\/b>Enter the fifth argument &#8211; <b>[match_mode].<\/b> We are searching for a wildcard match, so we need to enter 2.<\/p>\n<p><b><strong>=XLOOKUP(G1<\/strong><\/b><\/p>\n<p><b><strong>,B2:B32,D2:D32,,2)<\/strong><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-52.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28676\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-52.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1007\" height=\"570\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-52.png 1007w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-52-300x170.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-52-768x435.png 768w\" sizes=\"(max-width: 1007px) 100vw, 1007px\" \/><\/a><\/p>\n<p>Here, XLOOKUP in Excel has extracted the salary of the person with a first name starting with &#8220;J&#8221; and is a five-letter word.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-88.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28773\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-88.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"860\" height=\"397\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-88.png 860w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-88-300x138.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-88-768x355.png 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><a id=\"7\"><\/a>Example 7 &#8211; Search from Bottom to Up<\/strong><\/p>\n<p>In this example, we will<strong>\u00a0search the value from bottom to top<\/strong>\u00a0instead of the default direction (top to bottom). This can be achieved by<strong>\u00a0using the 6th argument of the function<\/strong>\u00a0\u2013\u00a0[search_mode].<\/p>\n<p>It is an amazing feature if you wish to\u00a0<strong>find the last occurrence of something in your data<\/strong>. Let\u2019s dive into this XLOOKUP example to learn how.<\/p>\n<p>In this example, we are trying to extract the salary of the person whose first name is John but we will be starting the search from the bottom of the array.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28697\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1144\" height=\"580\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71.png 1144w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71-300x152.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71-1024x519.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-71-768x389.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/a><\/p>\n<p><strong>STEP 1:<\/strong> Enter the first argument &#8211; <b>Lookup_value. <\/b>Here our lookup value is in cell <b>G1<\/b><\/p>\n<p><strong>=XLOOKUP(G1,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28698\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1225\" height=\"629\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72.png 1225w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72-300x154.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72-1024x526.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-72-768x394.png 768w\" sizes=\"(max-width: 1225px) 100vw, 1225px\" \/><\/a><\/p>\n<p><b><strong>STEP 2: <\/strong><\/b>Enter the second argument <b>&#8211; Lookup_array.<\/b>\u00a0Here we are going to search in the column containing the list of first names of the employees, i.e., <b>B2:B32<\/b><\/p>\n<p><strong>=XLOOKUP(G1,B2:B32,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28699\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1083\" height=\"617\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73.png 1083w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73-300x171.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73-1024x583.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-73-768x438.png 768w\" sizes=\"(max-width: 1083px) 100vw, 1083px\" \/><\/a><\/p>\n<p><b><strong>STEP 3: <\/strong><\/b>Enter the third argument &#8211; <b>Return_array.<\/b> Here we are going to select the entire array of salaries, i.e., <b>D2:D32<\/b><\/p>\n<p><strong>=XLOOKUP(G1,B2:B32,D2:D32,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28701\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1203\" height=\"626\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png 1203w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-300x156.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-1024x533.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-768x400.png 768w\" sizes=\"(max-width: 1203px) 100vw, 1203px\" \/><\/a><\/p>\n<p><b><strong>STEP 4: <\/strong><\/b>Enter the fourth argument &#8211; <b>[if_not_found]. <\/b>You can leave this blank.<\/p>\n<p><strong>=XLOOKUP(G1,B2:B32,D2:D32,,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28701\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1203\" height=\"626\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74.png 1203w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-300x156.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-1024x533.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-74-768x400.png 768w\" sizes=\"(max-width: 1203px) 100vw, 1203px\" \/><\/a><\/p>\n<p><b><strong>STEP 5: <\/strong><\/b>Enter the fifth argument &#8211; <b>[match_mode]<\/b>. <b> <\/b>You can leave this blank.<\/p>\n<p><strong>=XLOOKUP(G1,B2:B32,D2:D32,,,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28703\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1141\" height=\"622\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76.png 1141w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76-300x164.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76-1024x558.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-76-768x419.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/a><\/p>\n<p><b><strong>STEP 6: <\/strong><\/b>Enter the sixth argument &#8211; <strong>[<\/strong><b>search_mode]<\/b>. This should be -1 as we want to search from bottom to top.<\/p>\n<p><strong>=XLOOKUP(G1,B2:B32,D2:D32,,,-1)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28704\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1168\" height=\"630\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77.png 1168w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77-300x162.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77-1024x552.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-77-768x414.png 768w\" sizes=\"(max-width: 1168px) 100vw, 1168px\" \/><\/a><\/p>\n<p>You can see that we have 2 people with the first name &#8220;John&#8221;. Since the search mode was from bottom to up, we got the salary of John Didn&#8217;t and not John Acuname.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-84.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28769\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-84.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"831\" height=\"550\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-84.png 831w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-84-300x199.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-84-768x508.png 768w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><strong><a id=\"8\"><\/a>Example 8 &#8211; XLOOKUP to the left<\/strong><\/b><\/p>\n<p>One major<strong> drawback of VLOOKUP<\/strong> was that it compulsorily had to<strong> keep the lookup array in the leftmost column<\/strong> of our dataset for it to be able to search for any criteria. Since <strong>XLOOKUP in Excel has separate arrays for both lookup and result<\/strong>, we can bypass this constraint and search right to left as well.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-42.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28662\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-42.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"782\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-42.png 782w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-42-300x148.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-42-768x380.png 768w\" sizes=\"(max-width: 782px) 100vw, 782px\" \/><\/a><\/p>\n<p>Let us understand the syntax here:<\/p>\n<p><b>STEP 1:<\/b> Enter the first argument &#8211; <b>Lookup_value. <\/b>Here our lookup value is in cell <b>G1<\/b>, which contains the employee ID.<\/p>\n<p><strong>=XLOOKUP(G1,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-43.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28663\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-43.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"849\" height=\"437\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-43.png 849w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-43-300x154.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-43-768x395.png 768w\" sizes=\"(max-width: 849px) 100vw, 849px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the second argument &#8211; <b>Lookup_array<\/b>. Here we are going to search in the column containing the list of employee id, i.e., <b>D2:D32<\/b><\/p>\n<p><strong>=XLOOKUP(G1,D2:D32,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-44.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28664\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-44.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"938\" height=\"425\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-44.png 938w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-44-300x136.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-44-768x348.png 768w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211; <b>Return_array.<\/b> Here we are going to select the entire array of corresponding date of joining of employees, i.e., <strong>C<\/strong><b>2:C32<\/b><\/p>\n<p><strong>=XLOOKUP(G1,D2:D32,C2:C32)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-45.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28665\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-45.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"916\" height=\"435\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-45.png 916w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-45-300x142.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-45-768x365.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/a><\/p>\n<p>The salary for the mentioned employee ID has been returned by the XLOOKUP function in Excel even though the return array is on left of the lookup array.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-83.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28768\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-83.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"761\" height=\"526\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-83.png 761w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-83-300x207.png 300w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><strong><a id=\"9\"><\/a>Example 9 &#8211; <\/strong>Horizontal Lookup<\/b><\/p>\n<p>The <strong>syntax for performing a horizontal lookup using XLOOKUP in Excel is the same as for a vertical lookup<\/strong>. You just need to <strong>provide Excel with the lookup and return an array<\/strong>, the table\u2019s orientation is irrelevant to the XLOOKUP in Excel.<\/p>\n<p>In this example, we are trying to<strong> extract the name of the person based on their employee ID<\/strong>. As we can see, the names are in a row and the data normally would have to be transposed to use VLOOKUP. But here we will use XLOOKUP as it can even search values across rows as well as columns.<\/p>\n<p>This eliminates the need for HLOOKUP as well.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28679\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1325\" height=\"312\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54.png 1325w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54-300x71.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54-1024x241.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-54-768x181.png 768w\" sizes=\"(max-width: 1325px) 100vw, 1325px\" \/><\/a><\/p>\n<p>Let us understand the syntax here:<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument <b>&#8211; Lookup_value<\/b>. Here our lookup value is in cell <strong>B4<\/strong>, which contains the Employee ID we want to search for.<\/p>\n<p><strong>=XLOOKUP(B4,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28680\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1331\" height=\"377\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55.png 1331w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55-300x85.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55-1024x290.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-55-768x218.png 768w\" sizes=\"(max-width: 1331px) 100vw, 1331px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the second argument &#8211;<b> Lookup_array<\/b>. Here we are going to search in the column containing the list of employee IDs, i.e., <b>B1:W1<\/b><\/p>\n<p><b><strong>=XLOOKUP(B4,B1:W1,<\/strong><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28681\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1320\" height=\"313\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56.png 1320w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56-300x71.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56-1024x243.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-56-768x182.png 768w\" sizes=\"(max-width: 1320px) 100vw, 1320px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211; <b>Return_array.<\/b> Here we are going to select the entire array containing names, i.e., <b>B2:W2<br \/>\n<\/b><\/p>\n<p><b><strong>=XLOOKUP(B4,B1:W1,B2:W2)<\/strong><\/b><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28682\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1340\" height=\"311\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57.png 1340w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57-300x70.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57-1024x238.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-57-768x178.png 768w\" sizes=\"(max-width: 1340px) 100vw, 1340px\" \/><\/a><\/p>\n<p>Here, we can see that even though the data is in a horizontal format, XLOOKUP in Excel was able to easily extract the required data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28770\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1463\" height=\"248\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85.png 1463w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85-300x51.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85-1024x174.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-85-768x130.png 768w\" sizes=\"(max-width: 1463px) 100vw, 1463px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><a id=\"10\"><\/a>Example 10 &#8211; Case sensitive XLOOKUP<\/strong><\/p>\n<p>The XLOOKUP in Excel is not case sensitive i.e. it treats both uppercase and lowercase as the same words. You can make XLOOKUP case-sensitive by using the <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/exact-formula-in-excel\/\" target=\"_blank\" rel=\"nofollow noopener\">EXACT Formula in Excel<\/a> along with XLOOKUP.<\/p>\n<p>The syntax of the EXACT function is &#8211;<\/p>\n<p>=EXACT(text1,\u00a0text2)<\/p>\n<p><em><strong>What it means:<\/strong><\/em><\/p>\n<p>=EXACT(first text to be compared,\u00a0second text to be compared)<\/p>\n<p>In this example, we are trying to exact the price for the quality mentioned in cell E1 using the list of quality and prices mentioned in the array A2:B7.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-59.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28685\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-59.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"717\" height=\"254\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-59.png 717w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-59-300x106.png 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p>Let us follow the step-by-step tutorial below &#8211;<\/p>\n<p><b>STEP 1: <\/b>Enter the first argument &#8211; <b>Lookup_value<\/b>. Here our lookup value is <b>TRUE<\/b>, we are searching for an exact case-sensitive match. This function here works in tandem with the <b>EXACT <\/b>function.<\/p>\n<p><strong>=XLOOKUP(TRUE,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-60.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28686\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-60.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"725\" height=\"277\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-60.png 725w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-60-300x115.png 300w\" sizes=\"(max-width: 725px) 100vw, 725px\" \/><\/a><\/p>\n<p><b>STEP 2: <\/b>Enter the second argument &#8211; <b>Lookup_array<\/b>. Here we are using the <b>EXACT <\/b>function to compare the value in <b>E1<\/b> (which contains the Quality level) to each cell in the range <b>A2:A7 <\/b>(list of all levels of quality offered). The EXACT function returns <b>TRUE <\/b>if the two numbers are exactly the same, and <b>FALSE <\/b>otherwise.<\/p>\n<p><strong>=XLOOKUP(TRUE,EXACT(E1,A2:A7)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-61.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28687\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-61.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"804\" height=\"300\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-61.png 804w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-61-300x112.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-61-768x287.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><\/p>\n<p><b>STEP 3: <\/b>Enter the third argument &#8211;<b>Return_array.<\/b> Here we are going to select the entire array of the corresponding price of the product at different quality levels, i.e., <b>B2:B7<\/b><\/p>\n<p><strong>=XLOOKUP(TRUE,EXACT(E1,A2:A7),B2:B7)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-62.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28688\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-62.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"803\" height=\"306\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-62.png 803w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-62-300x114.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-62-768x293.png 768w\" sizes=\"(max-width: 803px) 100vw, 803px\" \/><\/a><\/p>\n<p>In this case, the XLOOKUP function searches for the first TRUE value in the array that the EXACT function has returned. If it discovers a TRUE result, it returns the value from the range B2:B7.<\/p>\n<p>We can see that Excel has extracted the price of Aa1 i.e. $49.14 and not the price of quality AA1. Hence, allowing lookup to find case-sensitive values.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-86.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28771\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-86.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"576\" height=\"245\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-86.png 576w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-86-300x128.png 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><a id=\"11\"><\/a>Example 11 &#8211; Multiple Criteria in XLOOKUP<\/b><\/p>\n<p>In this example, we will be searching for a<strong> value that matches more than 1 criteria<\/strong> using XLOOKUP.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28690\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1105\" height=\"555\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64.png 1105w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64-300x151.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64-1024x514.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-64-768x386.png 768w\" sizes=\"(max-width: 1105px) 100vw, 1105px\" \/><\/a><\/p>\n<p>Here, we are trying to get data for a product that matches the following three conditions &#8211;<\/p>\n<ul>\n<li>Texture is Silk<\/li>\n<li>Quality is S1<\/li>\n<li>Type is Top<\/li>\n<\/ul>\n<p>Let us follow the steps below to understand how this can be accomplished.<\/p>\n<p><strong>STEP 1:<\/strong> Enter the first argument &#8211; <strong>Lookup_value.<\/strong>\u00a0Here our lookup value is <strong>1<\/strong>. This is because test arrays will return 1 only when all the criteria are met.<\/p>\n<p><strong>=XLOOKUP(1,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28691\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1120\" height=\"547\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65.png 1120w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65-300x147.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65-1024x500.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-65-768x375.png 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" \/><\/a><\/p>\n<p><strong>STEP 2:<\/strong> Enter the second argument &#8211; <strong>Lookup_array<\/strong>. Here we are checking multiple criteria. We will call them our test arrays.<\/p>\n<ul>\n<li>First, we want to extract details for a Silk product. We are searching for matches of \u201cSilk\u201d in the entire array B2:B25.<\/li>\n<li>Then we want a product of the S1 quality category. We are searching for matches of \u201cS1\u201d in the entire array C2:C25<\/li>\n<li>Finally, we want the details of a Top product. We are searching for matches of \u201cTop\u201d in the entire array D2:D25.<\/li>\n<\/ul>\n<p><strong>=XLOOKUP(1,(B2:B25=&#8221;Silk&#8221;)*(C2:C25=&#8221;S1&#8243;)*(D2:D25=&#8221;Top&#8221;)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28692\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1028\" height=\"557\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68.png 1028w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68-300x163.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68-1024x555.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-68-768x416.png 768w\" sizes=\"(max-width: 1028px) 100vw, 1028px\" \/><\/a><\/p>\n<p><strong>STEP 3:<\/strong> Enter the third argument &#8211; <strong>Return_array<\/strong>. Here we are going to select the entire array because we want to extract the entire details of the product, i.e., A2:E25.<\/p>\n<p><strong>=XLOOKUP(1,(B2:B25=&#8221;Silk&#8221;)*(C2:C25=&#8221;S1&#8243;)*(D2:D25=&#8221;Top&#8221;),A2:E25)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28693\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1059\" height=\"546\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69.png 1059w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69-300x155.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69-1024x528.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-69-768x396.png 768w\" sizes=\"(max-width: 1059px) 100vw, 1059px\" \/><\/a><\/p>\n<p>Product ID 17572 matches all three conditions and thus values related to this product ID have been extracted here.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" class=\"alignnone size-full wp-image-28772\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87.png\" alt=\"Top 11 Examples of Using XLOOKUP in Excel - The Ultimate Guide\" width=\"1154\" height=\"380\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87.png 1154w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87-300x99.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87-1024x337.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/04\/Screenshot-87-768x253.png 768w\" sizes=\"(max-width: 1154px) 100vw, 1154px\" \/><\/a><\/p>\n<p><b>Conclusion<\/b><\/p>\n<p>In conclusion, anyone who frequently uses Excel needs to have access to the XLOOKUP function. It is an invaluable tool for data analysis and manipulation due to its sophisticated search and match capabilities as well as its speed, accuracy, flexibility, and simplicity.<\/p>\n<p>Gaining proficiency with the XLOOKUP in Excel will help you be more productive, save time and effort, and give you a competitive edge at work. So, if you haven&#8217;t already, it&#8217;s time to begin exploring the power of the XLOOKUP function and unleashing the full potential of <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-microsoft-excel-online-course\/\" target=\"_blank\" rel=\"noopener\" title=\"Microsoft Excel\" data-wpil-keyword-link=\"linked\">Microsoft Excel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel is a strong tool that can assist you in many ways with data organization and analysis. The XLOOKUP function in Excel is among its most crucial features. You can use this flexible tool to look up a specific value in a group of cells and have the corresponding value from another column returned. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":29208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[11,703],"tags":[1174,1176,1177,695,1175],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/28563"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=28563"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/28563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/29208"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=28563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=28563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=28563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}