+ Reply to Thread
Results 1 to 2 of 2

Sum Up Cells Until Adjacent Cell Meets Criteria

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    MTL
    MS-Off Ver
    Excel 2007
    Posts
    16

    Sum Up Cells Until Adjacent Cell Meets Criteria

    Hello everyone,

    I have a column which contains Region Names, and in between (under its region), customer name. In another column, I have sales figures. I would like to sum up the sales until the adjacent cell is one of the region (that is, I would like to be able to add customers within regions without having to define the sum range anew).

    I thought of using a count function combined with a sumif (or sumifs), but I can't wrap my head around it!

    Any ideas welcome,

    Thanks a lot,

    Corentin

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    Re: Sum Up Cells Until Adjacent Cell Meets Criteria

    use pivot table for that.

    Or sumproduct (for versions till excel 2003)

    Or sumifs (for versions from excel 2007 and later).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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