+ Reply to Thread
Results 1 to 2 of 2

sumif offset cumulative function question

  1. #1
    Registered User
    Join Date
    02-25-2005
    Posts
    38

    sumif offset cumulative function question

    =(sumif(productlist;A12;offset(productlist;0;5))))

    name of the product (computer A)

    product list is the name of a column in sheet 2
    (5 is the month number by the way)

    formula looks for a12 in sheet 2 then gives 5th value near product list column

    question
    i want to find the cumulative sum 1 to 5 (for example jan to april)
    how can i do

    thanks in advance

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =SUMPRODUCT((ProductList=A12)*(OFFSET(ProductList;0;1;COUNTA(ProductList);B12)))

    ...where B12 contains the month number.

    Hope this helps!

    Quote Originally Posted by barkiny
    =(sumif(productlist;A12;offset(productlist;0;5))))

    name of the product (computer A)

    product list is the name of a column in sheet 2
    (5 is the month number by the way)

    formula looks for a12 in sheet 2 then gives 5th value near product list column

    question
    i want to find the cumulative sum 1 to 5 (for example jan to april)
    how can i do

    thanks in advance

+ 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