Results 1 to 5 of 5
  1. #1
    countingguru is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    17

    Calculated Field with Running Cummulative Total!

    Dear friends



    I need calculated field (in a query) that executes a running cummulative total for three conditions: "="&Project Name, "="&Service and "<="&Date.
    I can do it in Excel using SUMIFS(), but have no clue on how its done in Access 2010 !
    The "Balance" field should be the end result:


    Project Service Date Amount Balance
    A Welding 1/1/2012 100 100
    A Welding 1/2/2012 120 220
    A Wiring 1/3/2012 150 150
    B Welding 1/1/2012 103 103
    B Painting 1/2/2012 124 124
    B Painting 1/3/2012 155 278
    C Welding 1/1/2012 106 106
    C Wiring 1/2/2012 127 127
    C Wiring 1/3/2012 159 286


    Thanks !

    Al

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    HI -

    MS Access is not Excel, and can't do some of the things Excel does; running totals in a query is one of the things it won't do. Running totals are in reports.

    John

  3. #3
    countingguru is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    17
    Actually I found my answer, its DSUM(). You can create a DSUM("Amount","tblProject","project="&project) AS Balance. It works.

  4. #4
    geocan2006 is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    May 2016
    Posts
    34
    Can you load a sample please?

    Thanks

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    geocan,
    You have posted a request in a thread that is almost 8 years old!!
    I recommend that you create a new thread and provide readers with an overview of your issue/opportunity so they can offer focused feedback.
    Good luck.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Running Total Query??
    By kwooten in forum Queries
    Replies: 8
    Last Post: 06-15-2012, 06:10 AM
  2. Running Total Based on a Date in a field
    By scratchmb in forum Access
    Replies: 4
    Last Post: 02-15-2012, 05:31 PM
  3. Calculated Total with beginning Value
    By mcahal in forum Access
    Replies: 1
    Last Post: 01-03-2012, 11:46 AM
  4. Running Total (Cumulative)
    By jamesborne in forum Queries
    Replies: 3
    Last Post: 12-26-2011, 09:30 PM
  5. Running total
    By lololthis in forum Queries
    Replies: 5
    Last Post: 06-21-2011, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums