+ Reply to Thread
Results 1 to 4 of 4

Replacing 0 with blank in formulas

  1. #1
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    Replacing 0 with blank in formulas

    On the attached document, we have a rolling average for the most recent 12 months in column AF. Data in rows 2-8 are populated from cells in rows 18-32. Data is populated at the end of each completed month so at present, the rows 2-8 are appearing as 0. This is knocking out the 12 month average so I need to find a way to make them return as blank until such time as they are populated. Does anyone know how I can do this? I have been trying different options in column N with no success except that ISBLANK appears to work but only if I am referencing just the one cell and am not attempting a calculation.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Replacing 0 with blank in formulas

    Maybe in N2, =IF(COUNT(N18:N32), SUM(N18:N32), "")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: Replacing 0 with blank in formulas

    Thanks shg! That's works perfectly for the formulas that sum. Now I just have to figure out what to do with the formulas that add nonsequential cells (N3 & N4). Any ideas on that one?

  4. #4
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: Replacing 0 with blank in formulas

    Don't worry. I figured it out based on your above formula. thanks again

+ 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