---
title: "XLOOKUP practice exercises | PracticeExcel"
description: "Practice XLOOKUP in a live spreadsheet."
canonical_url: "https://practiceexcelonline.com/practice/xlookup"
locale: en
meta:
  "og:description": "Practice XLOOKUP in a live spreadsheet."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bpractice%2Bexercises%2Cdescription_Practice%2BXLOOKUP%2Bin%2Ba%2Blive%2Bspreadsheet.%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9wcmFjdGljZS94bG9va3VwIg%2Cs_fqjnCnh0gQtm7QXB.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "XLOOKUP practice exercises | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bpractice%2Bexercises%2Cdescription_Practice%2BXLOOKUP%2Bin%2Ba%2Blive%2Bspreadsheet.%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9wcmFjdGljZS94bG9va3VwIg%2Cs_fqjnCnh0gQtm7QXB.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **XLOOKUP practice exercises**

XLOOKUP replaces VLOOKUP and INDEX/MATCH in Excel 365 and Google Sheets: separate lookup and return ranges, exact match by default and a built-in value for not found.

[**Start the first exercise**](https://practiceexcelonline.com/practice/xlookup/xlookup)

XLOOKUP(

1. [**1****Look up a price with XLOOKUP**In F2, use XLOOKUP to return the Price for the SKU in E2: look for E2 in A2:A6 and return from C2:C6.](https://practiceexcelonline.com/practice/xlookup/xlookup)
2. [**2****XLOOKUP with a not-found value****Premium**P-109 is not in the list. In F2, use XLOOKUP to return the price for E2, and use its fourth argument to show "Not found" instead of #N/A.](https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found)
3. [**3****Find the latest match with XLOOKUP****Premium**The price list grows at the bottom each time a price changes. In F2, find the current price of the product in F1, the last match in the list. Search from the bottom with search\_mode -1, the sixth argument: XLOOKUP(F1,B2:B8,C2:C8,,0,-1).](https://practiceexcelonline.com/practice/xlookup/xlookup-last-match)
4. [**4****The smallest box that fits with XLOOKUP****Premium**In C2, pick the smallest box that holds the volume in B2. If there is no exact match, XLOOKUP should take the next larger size: match\_mode 1, the fifth argument, XLOOKUP(B2,$E$2:$E$5,$F$2:$F$5,,1).](https://practiceexcelonline.com/practice/xlookup/xlookup-next-larger)

## **Functions in this topic**

- [**XLOOKUP**](https://practiceexcelonline.com/functions/xlookup)

## **Read the guide**

- [**Excel for job interviews: what gets tested and how to prepare**](https://practiceexcelonline.com/learn/excel-for-job-interviews)
- [**VLOOKUP vs XLOOKUP vs INDEX MATCH: which lookup to use**](https://practiceexcelonline.com/learn/vlookup-vs-xlookup-vs-index-match)
- [**Excel for finance and accounting: the skills you actually use**](https://practiceexcelonline.com/learn/excel-for-finance)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/xlookup#webpage","description":"Practice XLOOKUP in a live spreadsheet.","name":"XLOOKUP practice exercises","url":"https://practiceexcelonline.com/practice/xlookup","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/xlookup#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/xlookup"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/xlookup#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"XLOOKUP practice exercises","position":3}]},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
