Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Oct 2003
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    #DIV/O Error Formatting (Excel 2003)

    Could someone provide me the proper custom format for hiding/changin the #DIV/O error. Hiding might just be "-" or " ".

    Thank you

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: #DIV/O Error Formatting (Excel 2003)

    There are two easy options:
    1. Rewrite your formula to include an error check.
    2. Use conditional formatting with an expression like <code>=iserror(A1)</code> and set the font colour to white.
    HTH
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: #DIV/O Error Formatting (Excel 2003)

    If your formula is something like =A1/B1, then you can change it to something like:

    <code>
    =IF(ISERROR(A1/B1),"",A1/B1)
    </code>
    Legare Coleman

  4. #4
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    Long Beach, California, USA
    Posts
    233
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: #DIV/O Error Formatting (Excel 2003)

    ISERR will trap any error value except #N/A
    ISERROR will trap them all (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, and #NULL!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •