+ Reply to Thread
Results 1 to 3 of 3

Need Macro and/or Formula to produce a "cummulative to date" value

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    54

    Need Macro and/or Formula to produce a "cummulative to date" value

    Friends,

    Please see the image and let me know if it is possible to have a formula that will add the value of the cell to the left of the selection to the next non-empty cell above it?

    fdsa.png

    I assume that I will need a macro to get it done... How would I go about it? The left column is a "consumed material" column and the right is a cummulative "to date" column but there are not always consumptions everyday so there will be a varying number of cells between "consumed material" inputs...

    I can't seem to figure out how to fully automate the cummulative running total... Thanks in advance for the help!

    -Mike








    Is it possible to have a formula that will add the value of the cell to the left of the selection to the next non-empty cell above it?

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Need Macro and/or Formula to produce a "cummulative to date" value

    Use

    For Row 1 use =If(A1="","",SUM($A$1:A1))
    For Row 2 use =If(A2="","",SUM($A$1:A2))

    and so on
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Need Macro and/or Formula to produce a "cummulative to date" value

    Haha...

    I feel dumb... That was a lot easier than I thought it would be... Sometimes you can't see the simple solution because you have convinced yourself it will take a complex one...

    Thanks ACE

+ 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