+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    06-28-2006
    Posts
    24

    Summing between known characters #2

    I need to add a variation to my initial request.....

    Sample data:

    A .....B.....C
    -----
    Bob...1..
    Bob...3
    Ted....9....4
    -----
    Ted...3
    Bob...4....4
    -----
    Ted...1
    Ted...4
    Ted...5
    Ted...2....0
    -----

    I need a formula for Column C that will sum "Bob" items (could be 1, could be 50 rows) in Column A, where there is known "separators", in this case: -----
    There could be thousand of such groups so just adding a formula where I want a sum is out of the question. The formula needs to be one I can simply copy down the column to the end of the data. Thanks

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,212

    Re: Summing between known characters #2

    Hi Steve, try this formula in C2 and copied down:

    =IF(A3="------",SUMIF($A$2:A2,"Bob",$B$2:B2)-SUM($C$1:C1),"")

    Make sure the number of dashes is correct, this example has six.

  3. #3
    Forum Guru
    Join Date
    01-03-2006
    Location
    Basingstoke, England
    MS-Off Ver
    2007 (work & home)
    Posts
    2,240

    Re: Summing between known characters #2

    hi Steve
    Quote Originally Posted by stevemyers View Post
    I need to add a variation to my initial request.....
    Can you please provide a link to the "initial request"?

    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,212

    Re: Summing between known characters #2


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.2.0