+ Reply to Thread
Results 1 to 2 of 2

Running Total including Null values

  1. #1
    Registered User
    Join Date
    12-09-2011
    Location
    Amarillo, Texas
    MS-Off Ver
    Excel 2010
    Posts
    1

    Running Total including Null values

    I need help with a simple formula:

    I have attached a spreadsheet example.

    Concept:

    Total Charge

    Three Savings Buckets A, B, C

    Bucket A Savings = Total Charge minus Bucket A Allowance

    Bucket B may be null with no activity so

    when I start with Bucket C, formula needs to start with the Bucket A Allowance

    All Buckets with values
    Charge A Allow A Save B Allow B Save C Allow C Save
    500 350 150 300 50 100 200
    500 - 350 350 - 300 300 - 100

    Bucket with Null Value

    Charge A Allow A Save B Allow B Save C Allow C Save
    500 350 150 Null Null 300 50
    500- 350 350 - 300

    Need formula sees null and takes last subtotal > 0 and Null = no entry at all not zero
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-11-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Running Total including Null values

    Hi,

    You can use these formulae for calculating Bucket A-B and B-C repectivley.

    =IF(ISERROR(IF(B5>0,A5-B5,A5)),A5,IF(B5>0,A5-B5,A5))

    IF(ISERROR(IF(B5>0,B5-C5,A5-C5)),A5-C5,IF(B5>0,B5-C5,A5-C5))

    I've used If iserror as you are typing a text "null" instead of 0 to represent null.

    I've also updated the formulae in your sheet too to calculate values based on different criteria you've mentioned.

    Hope this helps...have a great day!!

    Warm regards
    Ishtiyaq
    Attached Files Attached Files

+ 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