+ Reply to Thread
Results 1 to 3 of 3

Sumproduct Question User Enters Date Range in Data Validation Cells

  1. #1
    Registered User
    Join Date
    12-30-2011
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003,2007
    Posts
    1

    Sumproduct Question User Enters Date Range in Data Validation Cells

    I have a spreadsheet that has multiple colums. The columns are a date, a code and a number. I want to pull the totals based on a criteria where the user enters dates in
    2 Data Validation Date cells. So as the user enters date ranges the Totals will change based on the range in the Sumproduct formula.

    =SUMPRODUCT('S-90-E (2)'!A10:A656>=DATEVALUE(I14))--('S-90-E (2)'!A$10:A$656<=DATEVALUE(J14))--('S-90-E (2)'!M$10:M$653)--('S-90-E (2)'!B$10:B$653='S-124'!H30)

    I created an example sworkbook that has the data and a formula similiar to the one above......

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Sumproduct Question User Enters Date Range in Data Validation Cells

    SUMIFS:

    =SUMIFS(data!$C$2:$C$13,data!$A$2:$A$13,">="&E2,data!$A$2:$A$13,"<="&F2)

    SUMPRODUCT:

    =SUMPRODUCT(--(data!$A$2:$A$13>=E2),--(data!$A$2:$A$13<=F2)*(data!$C$2:$C$13))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Sumproduct Question User Enters Date Range in Data Validation Cells

    either:

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    avoid explicit coercion of "summation range" unless required explicitly (i.e. mimic SUMIF) and/or by virtue of array dimensions

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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