Logical
Excel 2013
◉ 11 views
=IFNA()
The IFNA function returns the value you specify if a formula returns the #N/A error value; otherwise it returns the result of the formula.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=IFNA(value, value_if_na)
Hover argument names in the table for details.
Output typeMixed
Popularity75 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =IFNA() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
value |
Any type | Required | The argument that is checked for the #N/A error value. |
value_if_na |
Any type | Required | The value to return if the formula evaluates to the #N/A error value. |
▣ Examples
Example 1
=IFNA(VLOOKUP(E2, A2:C100, 3, FALSE), "Not found")
Example 2
=IFNA(MATCH(E2, A2:A100, 0), 0)
✦ Tips
- If value or value_if_na is an empty cell, IFNA treats it as an empty string value ("").
- If value is an array formula, IFNA returns an array of results for each cell in the range specified in value.
⚠ Common Errors
#N/A
The argument that is checked for the #N/A error value. The value to return if the formula evaluates to the #N/A error value.
Fix: با IFNA مقدار جایگزین برای #N/A تعیین کنید؛ در صورت نیاز منبع خطا مانند VLOOKUP ناموفق را بررسی کنید.
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!