+ Reply to Thread
Results 1 to 4 of 4

Cumulative Sum

  1. #1
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Sao Paulo
    MS-Off Ver
    Excel 2021
    Posts
    156

    Cumulative Sum

    Hello, I need a help, spreadsheet'm adding to the month selected a particular product, only need to add the representative, which sold 1 representative of a particular product of Jan and September

    grateful-Leandro
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Cumulative Sum

    hi leovilla. try:
    =SUMPRODUCT((A2:A9=Q2)*(B2:B9=R4)*(COLUMN(Meses)-COLUMN(D1)+1<=MATCH(Q1,Meses,0)),D2:O9)

    not sure if this will work for you. my region settings wouldn't recognise "Set", but "Sep" as in September. it might work for your region settings:
    =SUMPRODUCT((A2:A9=Q2)*(B2:B9=R4)*(MONTH(Meses&2013)<=MONTH(Q1&2013)),D2:O9)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Cumulative Sum

    How about...

    =SUM(INDEX($D$2:$D$9,MATCH(Q2,$A$2:$A$9,0)):INDEX(D2:O9,MATCH(Q2,$A$2:$A$9,0),MATCH(Q1,Meses,0)))
    HTH
    Regards, Jeff

  4. #4
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Sao Paulo
    MS-Off Ver
    Excel 2021
    Posts
    156

    Re: Cumulative Sum

    Friends, thank you very much for your help, once again, managed to do what I wanted.
    thank you

+ 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