+ Reply to Thread
Results 1 to 4 of 4

Sumproduct with dynamic array

  1. #1
    Registered User
    Join Date
    08-31-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Sumproduct with dynamic array

    I have this formula and what i'd like is be able to do is say Data_Month= dates between this and this so if i set it to september it would give me results from January to September.

    =SUMPRODUCT(--(Data_Year=$B$3),--(Data_Month=$F$3),--(Data_Total_Lots=1),--ISNUMBER(SEARCH(B10,Data_Lot_No)))

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Sumproduct with dynamic array

    Try: =SUMPRODUCT(--(Data_Year=$B$3),--(Data_Month<=$F$3),--(Data_Total_Lots=1),--ISNUMBER(SEARCH(B10,Data_Lot_No)))

  3. #3
    Registered User
    Join Date
    08-31-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Sumproduct with dynamic array

    $F$3 curently equals August they are the names of the months not a date field

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumproduct with dynamic array

    Quote Originally Posted by benaw View Post
    $F$3 curently equals August they are the names of the months not a date field
    In that case try like this

    =SUMPRODUCT(--(Data_Year=$B$3),--((1&Data_Month)+0<=(1&$F$3)+0)),--(Data_Total_Lots=1),--ISNUMBER(SEARCH(B10,Data_Lot_No)))

+ 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