microsoft excel courses in - iserror statement
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » microsoft excel courses in - Iserror statement

microsoft excel courses in - Iserror statement

resolvedResolved · Low Priority · Version Standard

replyReply Thu 26 Apr 2007, 09:46Delegate Femi said...

Femi has attended:
Excel Intermediate course
Excel Advanced course
Excel VBA Intro Intermediate course

Iserror statement

How does one use iserror with if statements?

For upcoming training course dates see: Pricing & availability

replyReply Thu 26 Apr 2007, 11:55Trainer Tracy said...

RE: iserror statement

Hi Femi,

Thank you for the question,

To stop a formula returning a "#DIV/0" Error
If a formula returns a #DIV/0 error message there is a way to avoid such results.

For example the formula =A1/B1 will return a #DIV/0 if B1 is empty or a zero.

If you protect your formulas with the ISERROR function, the formula will then look like this:

=IF(ISERROR(A1/B1),0,A1/B1)

In plain English: should the result of A1 divided by B1 be an error change the result to 0 else show the result of A1/B1.

Hope this helps

Tracy

 

Excel tip:

Hiding and unhiding columns using the keyboard

CTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard