+ Reply to Thread
Results 1 to 4 of 4

Replace formula values with a blank

  1. #1
    Registered User
    Join Date
    03-30-2010
    Location
    Nairobi,Kenya
    MS-Off Ver
    Excel 2007
    Posts
    16

    Replace formula values with a blank

    Hallo!I am dealing with large Excel Sheets that have lots of formulas in them.
    When I apply formulas to the data,some rows have zero values,these zero values make my reports look untidy since the too many zeros confuse the readers of the reports.

    I would like to retain the formulas but delete all these superfluous zeros.In my attachment Budget 2010-2011,the rows that have been highlighted in green have zero values that are useless and need to be removed.

    I need one formula or tip to remove these zeros and replace them with blank cells without compromising the formulas in the worksheet.

    Please help me achieve this.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Replace formula values with a blank

    If you find zeros unattractive, turn off their display in TOOLS > OPTIONS > VIEW > [ ] Zero Values.

    I've used that for years with no ill effects. Others don't like it, it's your call.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Replace formula values with a blank

    Adding to JB's post, if you only want to modify some of the forumlas to not show zeros but not all formulas, then you could add another If statement. Example, you could change U15 from:

    =IF(ISERROR(T15)," ",T15)

    to:

    =IF(ISERROR(T15)," ",IF(T15<>0,T15,""))

    This will only affect the formula in U15 but not globally because I noticed you have no problem with zeros in other cells.

    Hope this helps.

    abousetta

  4. #4
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Replace formula values with a blank

    And an even 3rd option, is to use Conditional Formatting to change the Font color to the same as the cell color, making it invisible.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ 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