---
title: "IFNA function in Excel: syntax and examples | PracticeExcel"
description: "How to use IFNA in Excel and Google Sheets: catch \"not found\" from a lookup without hiding other errors."
canonical_url: "https://practiceexcelonline.com/functions/ifna"
locale: en
meta:
  "og:description": "How to use IFNA in Excel and Google Sheets: catch \"not found\" from a lookup without hiding other errors."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SUZOQSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJRk5BIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBjYXRjaCAibm90IGZvdW5kIiBmcm9tIGEgbG9va3VwIHdpdGhvdXQgaGlkaW5nIG90aGVyIGVycm9ycy4%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SUZOQSh2YWx1ZSwgdmFsdWVfaWZfbmEp%2Cp_Ii9mdW5jdGlvbnMvaWZuYSI%2Cs_0_7gyJWoptvyQ84n.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "IFNA function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SUZOQSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJRk5BIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBjYXRjaCAibm90IGZvdW5kIiBmcm9tIGEgbG9va3VwIHdpdGhvdXQgaGlkaW5nIG90aGVyIGVycm9ycy4%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SUZOQSh2YWx1ZSwgdmFsdWVfaWZfbmEp%2Cp_Ii9mdW5jdGlvbnMvaWZuYSI%2Cs_0_7gyJWoptvyQ84n.png"
---

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

# **The IFNA function**

Returns a value you choose when a formula gives #N/A, and the formula result otherwise. Other errors still show.

=

IFNA(

## **Syntax**

```
IFNA(value, value_if_na)
```

<dl><dt>**value **</dt>
<dd>The formula to check, usually a lookup.</dd>
<dt>**value_if_na **</dt>
<dd>What to show instead of #N/A.</dd></dl>

## **Examples**

D1`=IFNA(<sup>1</sup>MATCH("Kiwi",A2:A4,0),<sup>2</sup>0)`

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Fruit | Price |  | **0** |
| 2 | Apple | 4 |  | |
| 3 | Pear | 6 |  | |
| 4 | Plum | 5 |  | |

**In plain words:** <sup>1</sup>Look for Kiwi in A2:A4, and <sup>2</sup>if it is not there (#N/A), show 0 instead.

D1=IFNA(VLOOKUP("Pear",A2:B4,2,FALSE),"Not found")

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Fruit | Price |  | **6** |
| 2 | Apple | 4 |  | |
| 3 | Pear | 6 |  | |
| 4 | Plum | 5 |  | |

## **Practice IFNA**

- [**1****Catch only "not found" with IFNA**→](https://practiceexcelonline.com/practice/iferror/ifna-vlookup-not-found)

## **Read the guide**

- [**VLOOKUP vs XLOOKUP vs INDEX MATCH: which lookup to use**](https://practiceexcelonline.com/learn/vlookup-vs-xlookup-vs-index-match)

## **Related functions**

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

```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/functions/ifna#webpage","@type":"WebPage","description":"How to use IFNA in Excel and Google Sheets: catch \"not found\" from a lookup without hiding other errors.","name":"IFNA function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/ifna","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/ifna#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/ifna"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/ifna#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"IFNA function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/ifna#article","description":"How to use IFNA in Excel and Google Sheets: catch \"not found\" from a lookup without hiding other errors.","headline":"IFNA function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SUZOQSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJRk5BIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBjYXRjaCAibm90IGZvdW5kIiBmcm9tIGEgbG9va3VwIHdpdGhvdXQgaGlkaW5nIG90aGVyIGVycm9ycy4%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SUZOQSh2YWx1ZSwgdmFsdWVfaWZfbmEp%2Cp_Ii9mdW5jdGlvbnMvaWZuYSI%2Cs_0_7gyJWoptvyQ84n.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/ifna#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/ifna#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@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"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SUZOQSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJRk5BIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBjYXRjaCAibm90IGZvdW5kIiBmcm9tIGEgbG9va3VwIHdpdGhvdXQgaGlkaW5nIG90aGVyIGVycm9ycy4%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SUZOQSh2YWx1ZSwgdmFsdWVfaWZfbmEp%2Cp_Ii9mdW5jdGlvbnMvaWZuYSI%2Cs_0_7gyJWoptvyQ84n.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SUZOQSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJRk5BIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBjYXRjaCAibm90IGZvdW5kIiBmcm9tIGEgbG9va3VwIHdpdGhvdXQgaGlkaW5nIG90aGVyIGVycm9ycy4%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SUZOQSh2YWx1ZSwgdmFsdWVfaWZfbmEp%2Cp_Ii9mdW5jdGlvbnMvaWZuYSI%2Cs_0_7gyJWoptvyQ84n.png"}]}
```

## Sitemap

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