Using the IsError Function

  • i am trying to incorporate the isError function with the following code:


    How would I do that? When the C45 contains zero, I get a #Num error in the cells


  • Re: Using the IsError Function

    How about something like this?


    or a shorter version:


  • Re: Using the IsError Function

    How would I incorporate that into this formula:


    I put If(IsError(C45),"",...)))) but I got an error message.

    Should i have put If(IsError(C45=0) instead?

  • Re: Using the IsError Function

    The formula is very long, so I enclosed it in code tags so you can simply highlight the entire line in the code window and paste it into the appropriate cell in your worksheet. Use the scroll buttons to read through the whole thing. A brief explanation follows the formula.


    The IF(ISERROR(your formula) evaluates the formula you quoted. If an error occurs, his will leave nothing in the cell it is placed in if an error occurs (the "" part does that). If no error occurs, then your formula is evaluated and the result is placed in the cell.

    Let me know if you need further help. :)

  • Re: Using the IsError Function


    Since there is only one possible error in the formula (the final IF), the simplest usage of 'iserror' is:


    and the way to do this formula without 'iserror' would be to 'AND' the last IF:


    Also, I couldn't help notice that the last two statements are: IF c45>20 and then IF c45<21...?

    ...ducking while running...



Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!