+ Reply to Thread
Results 1 to 3 of 3

Creating a conditional running total

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2013
    Location
    Milan, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Creating a conditional running total

    I have a table where I want to track the total quantity of items entered by group. Additionally I need to calculate the total by multiplying the item quantity by the rate. Once the group quantity reaches the maximum allowed no more totals will added. I am using the formula:

    =[@Max]-SUMIFS([@Qty],[Group],[@Group],[Tally],"<[@Tally]")

    Tally = The running count of the items per group.

    I am getting at #VALUE! error, but don't know why.

    Any suggestions??

    Running Count.xlsx

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Creating a conditional running total

    Not sure what you're trying to do with that formula but the sum_range is just a single cell while the criteria ranges are multiples of cells.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Creating a conditional running total

    THis, copied down, will give you the totals...
    =IF(OR(A2="",COUNTIF($F$2:F2,F2)>1),"",SUMIF($C$2:$C$11,"*"&F2&"*",$B$2:$B$11))

    However, I dont see a rate in your sample?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Creating a running total of different sectors from one sheet.
    By kristyhutt in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-12-2013, 11:23 PM
  2. [SOLVED] Help Creating a SUMIFS (Running Total) Formula
    By quibilty in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-29-2013, 09:49 PM
  3. Creating a running total.
    By richimpulse in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-19-2013, 09:22 AM
  4. Creating a running total for a budget
    By venetian_jigsaw in forum Excel General
    Replies: 2
    Last Post: 07-11-2011, 02:34 PM
  5. Creating a Daily Running Total Query
    By theseekeroftru7h in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-12-2009, 07:56 AM

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