---
title: "XLOOKUP with a not-found value in Google Sheets | PracticeExcel"
description: "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."
canonical_url: "https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found"
locale: en
meta:
  "og:description": "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."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bwith%2Ba%2Bnot-found%2Bvalue%2Bin%2BGoogle%2BSheets%2Cdescription_~UC0xMDkgaXMgbm90IGluIHRoZSBsaXN0LiBJbiBGMiwgdXNlIFhMT09LVVAgdG8gcmV0dXJuIHRoZSBwcmljZSBmb3IgRTIsIGFuZCB1c2UgaXRzIGZvdXJ0aCBhcmd1bWVudCB0byBzaG93ICJOb3QgZm91bmQiIGluc3RlYWQgb2YgI04vQS4%2Ceyebrow_XLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9zaGVldHMvcHJhY3RpY2UveGxvb2t1cC94bG9va3VwLWlmLW5vdC1mb3VuZCI%2Cs_B8VMkaYXUEEZuJI6.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "XLOOKUP with a not-found value in Google Sheets | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_XLOOKUP%2Bwith%2Ba%2Bnot-found%2Bvalue%2Bin%2BGoogle%2BSheets%2Cdescription_~UC0xMDkgaXMgbm90IGluIHRoZSBsaXN0LiBJbiBGMiwgdXNlIFhMT09LVVAgdG8gcmV0dXJuIHRoZSBwcmljZSBmb3IgRTIsIGFuZCB1c2UgaXRzIGZvdXJ0aCBhcmd1bWVudCB0byBzaG93ICJOb3QgZm91bmQiIGluc3RlYWQgb2YgI04vQS4%2Ceyebrow_XLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJTS1UiLCJQcm9kdWN0IiwiUHJpY2UiLCJQcmljZSJdfSx7Im4iOjIsImNlbGxzIjpbIlAtMTAwIiwiRGVzayIsIjE0OTkiLCIiXX0seyJuIjozLCJjZWxscyI6WyJQLTEwMSIsIkNoYWlyIiwiODk5IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiUC0xMDIiLCJMYW1wIiwiMjQ5IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiUC0xMDMiLCJTaGVsZiIsIjY0OSIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlAtMTA0IiwiTW9uaXRvciIsIjE3OTkiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9zaGVldHMvcHJhY3RpY2UveGxvb2t1cC94bG9va3VwLWlmLW5vdC1mb3VuZCI%2Cs_B8VMkaYXUEEZuJI6.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**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/sheets/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/sheets/practice/xlookup/xlookup-if-not-found#webpage","@type":"WebPage","description":"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.","name":"XLOOKUP with a not-found value in Google Sheets","url":"https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found","breadcrumb":{"@id":"https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Google Sheets practice exercises","item":"https://practiceexcelonline.com/sheets","position":2},{"@type":"ListItem","name":"XLOOKUP","item":"https://practiceexcelonline.com/sheets/practice/xlookup","position":3},{"@type":"ListItem","name":"XLOOKUP with a not-found value in Google Sheets","position":4}]},{"@id":"https://practiceexcelonline.com/sheets/practice/xlookup/xlookup-if-not-found#/schema/learning-resource/1","@type":"LearningResource","description":"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.","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.
