---
title: "XLOOKUP with a not-found value | PracticeExcel"
description: "Practice XLOOKUP in a live spreadsheet: show your own text when a value is not found."
canonical_url: "https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found"
locale: en
meta:
  "og:description": "Practice XLOOKUP in a live spreadsheet: show your own text when a value is not found."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bwith%2Ba%2Bnot-found%2Bvalue%2Cdescription_~UHJhY3RpY2UgWExPT0tVUCBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IHNob3cgeW91ciBvd24gdGV4dCB3aGVuIGEgdmFsdWUgaXMgbm90IGZvdW5kLg%2Ceyebrow_XLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9wcmFjdGljZS94bG9va3VwL3hsb29rdXAtaWYtbm90LWZvdW5kIg%2Cs_vE2HJFPn9NByBgBF.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "XLOOKUP with a not-found value | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bwith%2Ba%2Bnot-found%2Bvalue%2Cdescription_~UHJhY3RpY2UgWExPT0tVUCBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IHNob3cgeW91ciBvd24gdGV4dCB3aGVuIGEgdmFsdWUgaXMgbm90IGZvdW5kLg%2Ceyebrow_XLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9wcmFjdGljZS94bG9va3VwL3hsb29rdXAtaWYtbm90LWZvdW5kIg%2Cs_vE2HJFPn9NByBgBF.png"
---

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

# **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.

F2fx

|  | A | B | C | D | E | F | G |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | SKU | Product | Price |  | SKU | Price | |
| 2 | P-100 | Desk | 1499 |  | P-109 |  | |
| 3 | P-101 | Chair | 899 |  |  |  | |
| 4 | P-102 | Lamp | 249 |  |  |  | |
| 5 | P-103 | Shelf | 649 |  |  |  | |
| 6 | P-104 | Monitor | 1799 |  |  |  | |
| 7 |  |  |  |  |  |  | |
| 8 |  |  |  |  |  |  | |

**Premium lesson**

## **Unlock XLOOKUP and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**IFERROR****FILTER**

It comes up in this mock test: [**Excel assessment (Indeed format)**](https://practiceexcelonline.com/tests/indeed-excel-assessment)

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/xlookup/xlookup-if-not-found)

Need help?

```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/xlookup-if-not-found#webpage","@type":"WebPage","description":"Practice XLOOKUP in a live spreadsheet: show your own text when a value is not found.","name":"XLOOKUP with a not-found value","url":"https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found","breadcrumb":{"@id":"https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found#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","item":"https://practiceexcelonline.com/practice/xlookup","position":3},{"@type":"ListItem","name":"XLOOKUP with a not-found value","position":4}]},{"@id":"https://practiceexcelonline.com/practice/xlookup/xlookup-if-not-found#/schema/learning-resource/1","@type":"LearningResource","description":"Practice XLOOKUP in a live spreadsheet: show your own text when a value is not found.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"XLOOKUP with a not-found value","teaches":"XLOOKUP"},{"@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.
