+ Reply to Thread
Results 1 to 5 of 5

running total by date (not sorted by date though...)

  1. #1
    Registered User
    Join Date
    05-12-2004
    Posts
    15

    Lightbulb running total by date (not sorted by date though...)

    Is it possible to have a running total go by date while not sorted by date?
    I would like to change the date but not change the sorting so that the running total of units is accurate at that period in time. SO basically I can see how many units I have at anygiven time. I hope this makes sense. I am sure someone has had to do this before...

    Below are two example tables.


    Example (sorted by Account):
    Acct---Date------units-runnning total
    A-----5/01/2006---10-----25
    B-----4/01/2006---10-----0 <<<<<<<<<<<<<<---- I want to change the 10 to 40, it would affect all the rows.
    C-----4/15/2006---15-----10
    D-----5/15/2006---20-----35
    Final Count----55

    Example (sorted by Date):
    Acct---Date------units-runnning total
    B-----4/01/2006---10-----0
    C-----4/15/2006---15-----10
    A-----5/01/2006---10-----25
    D-----5/15/2006---20-----35
    Final Count----55

    Thank you!!!
    Last edited by rainxking; 05-15-2006 at 12:58 PM.

  2. #2
    Miguel Zapico
    Guest

    RE: running total by date (not sorted by date though...)

    You may use the following array formula:
    =SUM($C$1:$C$4*($B$1:$B$4<$B1))
    Change the ranges as appropiate (here B column are dates, and C column
    units), and enter it with CRTL+SHIFT+ENTER

    Hope this helps,
    Miguel.

    "rainxking" wrote:

    >
    > Is it possible to have a running total go by date while not sorted by
    > date?
    > I would like to change the date but not change the sorting so that the
    > running total of units is accurate at that period in time. SO basically
    > I can see how many units I have at anygiven time. I hope this makes
    > sense. I am sure someone has had to do this before...
    >
    > Below are two example tables.
    >
    >
    > Example (sorted by Account):
    > Acct---Date------units-runnning total
    > A-----5/01/2006---10-----25
    > B-----4/01/2006---10-----0
    > C-----4/15/2006---15-----10
    > D-----5/15/2006---20-----35
    > Final Count----55
    >
    > Example (sorted by Date):
    > Acct---Date------units-runnning total
    > A-----4/01/2006---10-----0
    > B-----4/15/2006---15-----10
    > C-----5/01/2006---10-----25
    > D-----5/15/2006---20-----35
    > Final Count----55
    >
    > Thank you!!!
    >
    >
    > --
    > rainxking
    > ------------------------------------------------------------------------
    > rainxking's Profile: http://www.excelforum.com/member.php...fo&userid=9431
    > View this thread: http://www.excelforum.com/showthread...hreadid=542183
    >
    >


  3. #3
    Bernard Liengme
    Guest

    Re: running total by date (not sorted by date though...)

    This seems to work
    IN B1 enter =SUMPRODUCT(--($B$1:$B$10<B1),$C$1:$C$10)
    Copy down the column
    change B10, and C10 to fit you needs
    best wishes
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "rainxking" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Is it possible to have a running total go by date while not sorted by
    > date?
    > I would like to change the date but not change the sorting so that the
    > running total of units is accurate at that period in time. SO basically
    > I can see how many units I have at anygiven time. I hope this makes
    > sense. I am sure someone has had to do this before...
    >
    > Below are two example tables.
    >
    >
    > Example (sorted by Account):
    > Acct---Date------units-runnning total
    > A-----5/01/2006---10-----25
    > B-----4/01/2006---10-----0
    > C-----4/15/2006---15-----10
    > D-----5/15/2006---20-----35
    > Final Count----55
    >
    > Example (sorted by Date):
    > Acct---Date------units-runnning total
    > A-----4/01/2006---10-----0
    > B-----4/15/2006---15-----10
    > C-----5/01/2006---10-----25
    > D-----5/15/2006---20-----35
    > Final Count----55
    >
    > Thank you!!!
    >
    >
    > --
    > rainxking
    > ------------------------------------------------------------------------
    > rainxking's Profile:
    > http://www.excelforum.com/member.php...fo&userid=9431
    > View this thread: http://www.excelforum.com/showthread...hreadid=542183
    >




  4. #4
    Registered User
    Join Date
    05-12-2004
    Posts
    15
    I think I maynot have explained this clearly... Here us a better example what I have and what I am trying to do... I have units leaving and and coming in. I need a way to allocate. Going by the table below... I want to be able to change Joe's ShipDate to 6/25 and see how it affects the OnHand Units. This way I can look at everything, change a few ship dates and be able to accomidate more customers. Make Sense? Thanks again for all the help... If I can get this working it will save me hours and hours of work.

    The units shipping are negative numbers and the deliveries into my inventory are positive numbers in the QTY Column....


    Rep........ShipDate..Qty........OnHand
    Joe.........6/9/06....-1128.....1200
    Matt.......6/9/06....-372.......72
    Jim.........6/15/06...-150......-300
    John.......6/15/06...-6.........-450
    Sam....... 6/15/06...-12........-456
    Delvry...6/15/06...4210....-468
    Adam......6/25/06...-288......4678
    Joe.........6/25/06...-897......4390
    ---------------------------------
    Total ......6/25/06 ...............3493
    Last edited by rainxking; 05-15-2006 at 02:59 PM.

  5. #5
    Registered User
    Join Date
    05-12-2004
    Posts
    15
    Is something I need to look into access to accomplish?

+ 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