Tackle 2024 with new knowledge – take advantage of Learnesys’ fall campaign on the All Courses package. Read more here.
In this lesson we are going to go through the IFError function, which is a quicker way of replacing an error message with a new value or string.
For our example, if we divide the value in C4 by D4, and then drag down, we get error messages where we are trying to divide by zero.
So instead, we can write Equals, IFERROR, write out the calculation, and then write out what we want the error messages to be replaced by.
For our case, we will simply write two empty quotation marks… And drag down.
As we can see, where the calculation is trying to divide by zero, has now been replaced with an empty cell.
In this lesson we have taken a look at the IFERROR function, which replaced an error message with a given value or string.