+ Reply to Thread
Results 1 to 9 of 9

SUMProduct help counting # of records between 2 dates with additional condition

  1. #1
    Registered User
    Join Date
    06-17-2011
    Location
    Maine
    MS-Off Ver
    Excel 2003
    Posts
    7

    Question SUMProduct help counting # of records between 2 dates with additional condition

    I guess I am not using this right and desperately need some guidance. I have multiple worksheets which may be where my problem is without giving away too much info here is my formula

    =SUMPRODUCT(('Back Log Input'!A906:A1157<='Back Log Data'!R3)*('Back Log Input'!A906:A1157>='Back Log Data'!R2)*('Back Log Input'!C906:C1157="601"))

    I was trying to count the # of records between dates (Back Log Data'!R3 and Back Log Data'!R2) from the table that holds my records (Back Log Input'!A906:A1157 that reference the term "601" from that same worksheet.

    Am I an idiot?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    Quote Originally Posted by krichmond0306 View Post
    ..... without giving away too much info here is my formula.....Am I an idiot?
    Well only in so far as you admit you're not giving away too much.

    What's the error you're getting?
    Please upload your workbook, anonymised if necessary so that we do have 'too much'.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-17-2011
    Location
    Maine
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    I can not upload the workbook as I work for a Defense Contractor, hence my trying to walk the line of providing as much info as possible without providing too much.

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    Is "601" supposed to be a number or text?
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  5. #5
    Registered User
    Join Date
    06-17-2011
    Location
    Maine
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    it is a number

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    That's why I said anonymise it.

    We don't need to know the client's chief representative, Mahmoud Ahmadinejad from Ali Khamenei Inc. based at Khatam al-Anbiya air defence base is ordering a centrifuge type US1234 (pat. pend.)

    In true Dragnet style, just change the names to protect the innocent.

  7. #7
    Registered User
    Join Date
    06-17-2011
    Location
    Maine
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    Quote Originally Posted by Richard Buttrey View Post
    That's why I said anonymise it.

    We don't need to know the client's chief representative, Mahmoud Ahmadinejad from Ali Khamenei Inc. based at Khatam al-Anbiya air defence base is ordering a centrifuge type US1234 (pat. pend.)

    In true Dragnet style, just change the names to protect the innocent.
    I understand that, I will try to post it but it will take awhile to anonymize it

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    Quote Originally Posted by krichmond0306 View Post
    I understand that, I will try to post it but it will take awhile to anonymize it
    ...I should also have added delete most of the rows. We only need a representative sample so maybe a few dozen will suffice.

  9. #9
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: SUMProduct help counting # of records between 2 dates with additional condition

    If "601" is supposed to be a number, then it should not be contained in quotes. Try changing this portion of the formula from:

    Please Login or Register  to view this content.
    to this:

    Please Login or Register  to view this content.

+ 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