Sample Data
This sheet shows division operations and VLOOKUPs that may cause errors or #N/A, demonstrating how IFERROR and IFNA handle these cases.
| Cell | Value |
|---|---|
| A1 | 10 |
| A2 | 0 |
| A3 | 5 |
| B1 | =A1/A3 |
| B2 | =A1/A2 |
| C1 | =IFERROR(A1/A3, "Error") |
| C2 | =IFERROR(A1/A2, "Error") |
| D1 | =IFNA(VLOOKUP(1, {1, "One"; 2, "Two"; 3, "Three"}, 2, FALSE), "Not found") |
| D2 | =IFNA(VLOOKUP(4, {1, "One"; 2, "Two"; 3, "Three"}, 2, FALSE), "Not found") |