+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : How to hide formula output with no data

  1. #1
    Registered User
    Join Date
    11-07-2008
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    39

    How to hide formula output with no data

    I am working on an Excel document for calculating percentage.

    Entered =E11/D11 and formatted cell for %

    I have a column of 15 rows of these calculations. Not all the calculations are used each time and when there is not data in the cells used in the calculation, the calculated cell shows #DIV/0!

    How do I keep the #DIV/0! from showing?

    I went to Excel Options > Advanced > and unchecked the "show a zero in cells that have a zero value" under display options and clicked ok, but that didn't work.
    Last edited by brians34; 11-10-2011 at 01:27 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: How to hide formula output with no data

    Hi brians34,

    You would put the formula inside an IF function. Something like
    =If(IsError(E11/D11),"",E11/D11)
    You should also look at the IfError function as it is cleaner in newer versions of Excel.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    11-07-2008
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    39

    Re: How to hide formula output with no data

    Thanks Marvin.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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