Frequently Asked Questions
What is the IFERROR function?
IFERROR is a useful Sourcetable function for trapping errors in formulas. It returns a custom result of your choosing when a formula generates an error and otherwise returns a standard result from a formula when no error is detected.
How is the IFERROR function used?
To use the IFERROR function, you need to specify a formula to check for errors and a value to return in case of an error. For example:
=IFERROR(A1/A2, "Error")
This formula would divide A1 by A2, and return "Error" if any type of error occurred.
Why is the IFERROR function useful?
The IFERROR function is useful because it allows you to trap errors without using more complicated nested IF statements. It is also an elegant way to find errors, because you can return a human-readable message when an error is detected.
Are there other error functions?
Yes, there are other error functions available in Sourcetable, and sometimes it is better to use them over IFERROR. For example the IFNA function maybe a better option than IFERROR, because it checks for specific types of errors. Other error functions include:
- ISERROR
- ISNA
- ISERR
- ERROR.TYPE