Julian has attended:
Excel VBA Intro Intermediate course
Excel Advanced course
Exel Functions
What is the main function of an iserror and how would you use ut practically?
RE: Exel Functions
Hi Julian, Thank you for your post, in answer to your question the ISERROR function looks at a formula in a particuar cell and considers its accuracy, if the formula is incorrect it will return TRUE and if it is OK it will return FALSE,
The ISERROR function allows you to test whether a cell has generated an error message. This is particularly useful for division by zero (#DIV/0!) errors and is often combined with an IF statement to provide an alternate action if an error is generated.
As an example consider this: =A8-B8/C8 this will return a #DIV/0 error when it is copied and hits a blank cell, so if we dont want to see the #DIV/0
Try this: =IF(ISERROR(A8-B8/C8),"",(A8-B8/C8)) the #DIV/0 will not display, because the IF statement has entered nothing "" when it sees the TRUE statement.
I hope that has shed a little light, if so please click the Resolved link, best regards Pete.