+ Reply to Thread
Results 1 to 3 of 3

Running total formula

  1. #1
    Registered User
    Join Date
    12-21-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Running total formula

    Hi,

    I need a formula to help some with counting boxes.

    I need something like

    If a client is is repeated, in column a, then add all the totals, in column b.

    If it helps I can upload a spread sheet in order to explain further.

    Thanks

  2. #2
    Registered User
    Join Date
    04-20-2012
    Location
    New York, NY
    MS-Off Ver
    Excel 2013, 2010, 2007, 2003
    Posts
    99

    Re: Running total formula

    It always helps to upload a sample, but you'll want something like this:

    =IF(COUNTIF(A:A,A1)>1,SUMIF(A:A,A1,B:B),B1)
    SPARTAN
    Please click the * if my solution helped

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Running total formula

    Since you asked for a running total, I think this formula will work:
    =IF(A2=A1,B2+C1,B2)
    This is assuming all of the clients are grouped together. If they are not grouped together, something more complex is required.

    I knew with a bit of work I could figure out the formula for a running total of unordered Clients. Here you go:
    =IF(COUNTIF($A$1:$A1,$A1)>0,SUMIF($A$1:$A1,$A1,$B$1:$B2),$B1)
    Last edited by Melvinrobb; 07-13-2012 at 12:43 PM. Reason: Added Formula

+ 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