IFERROR runs a formula and, if it comes back as an error, shows what you asked for instead.
Syntax
IFERROR(value, value_if_error)
When to use it
Wrapping a division that might hit a zero, or a lookup that might not find anything, so the sheet reads cleanly rather than filling with error codes.
What trips people up
It hides every kind of error, including the ones caused by a genuine mistake in the formula. Get the formula right first, then wrap it, or you may never see that something is wrong.
Set by your computer's language, not by the file. A frequent cause of a correct-looking formula being rejected.
Excel version
XLOOKUP, IFS, TEXTBEFORE and TEXTJOIN need Microsoft 365 or 2021; older versions return #NAME? instead. Choosing the older one switches every walkthrough to a formula that works there.