+ Reply to Thread
Results 1 to 5 of 5

if formula to show blank or show instead of displaying the running total

  1. #1
    Registered User
    Join Date
    08-10-2008
    Location
    USA
    Posts
    2

    if formula to show blank or show instead of displaying the running total

    Hi, I am wondering how I can change my formulas so that if there is no data in cell D then cells F and H will be blank or show zeros instead of displaying the running total all the way down..

    attached is a screenshot of what I'm trying to do, but if there is a better way by all means..

    TIA
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    11,042
    Please post a sample of your workbook. Pictures don't help, we can't see the formulas you are using.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-10-2008
    Location
    USA
    Posts
    2
    Sure. Here it is. My goal is so when I print it out, the running totals will not continue to automatically fill, making for a much neater print.
    Attached Files Attached Files

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    In F8
    =IF(E8="","",$F$7-SUM($E$8:E8))
    In H8
    =IF(E8="","",$H$7-SUM($E$8:E8)-SUM($G$8:G8))
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    try
    =IF(ISBLANK(E8),"",SUM(F7-E8))
    or =IF(ISBLANK(E8),0,SUM(F7-E8))

+ 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