+ Reply to Thread
Results 1 to 3 of 3

#DIV/0 - any way to have something else display?

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    #DIV/0 - any way to have something else display?

    in my worksheet, I have a few formulas that are resulting in #DIV/0 because the values its calculating are 0. Is there any way to have something else display instead of this ugly error-looking result?

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #DIV/0 - any way to have something else display?

    several
    but best is to test for the bit that causes the div/0 error first so say your formula was =a1+1/b1
    then =if(b1=0,"do something else",a1+1/b1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-19-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: #DIV/0 - any way to have something else display?

    Perfect - I'll give it a shot - thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find and display the last occurance in two columns and display related cell
    By willia97 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 08:14 PM
  2. Replies: 2
    Last Post: 06-19-2012, 07:48 AM
  3. Replies: 0
    Last Post: 05-15-2012, 10:04 PM
  4. Can I display an Excel chart as my screensaver display?
    By Burke in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-01-2006, 02:05 PM
  5. Re: Conditional display - IF cell is blank, display next used row!
    By Patti in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2006, 05:35 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1