Sunteți pe pagina 1din 1

Excel Function Dictionary 1998 - 2000 Peter Noneley A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 B C D E F G H

ISERROR Page 1 of 1

ISERROR
Cell to test 3 #DIV/0! #NAME? #REF! #VALUE! #N/A #N/A Result FALSE TRUE TRUE TRUE TRUE TRUE TRUE =ISERROR(D4) =ISERROR(D5) =ISERROR(D6) =ISERROR(D7) =ISERROR(D8) =ISERROR(D9) =ISERROR(D10)

What Does It Do ? This function tests a cell or calculation to determine whether an error has been generated. It will show TRUE for any type of error and FALSE if no error is found. Syntax =ISERROR(CellToTest) The CellToTest can be a cell reference or a formula. Formatting No special formatting is needed. Example The following tables was used to calculate the difference between two dates. Table 1 shows an error due to the fact that the first entry was entered using an inappropriate date format. Table 1 Start date : Jan 01 98 End date : 5-Jan-98 Difference : #VALUE! =D31-D30

Table 2 shows how the =ISERROR() function has been used to trap the error and inform the user that there has been an error in the data entry. Table 2 Start date : Jan 01 98 End date : 5-Jan-98 Difference : Error in data entry =IF(ISERROR(D40-D39),"Error in data entry",D40-D39)

S-ar putea să vă placă și