+ Reply to Thread
Results 1 to 4 of 4

Sumproduct based on multiple criteria

  1. #1
    Registered User
    Join Date
    08-05-2004
    Posts
    9

    Sumproduct based on multiple criteria

    Really struggling with getting a formula working based on the following criteria:

    Multiple spreadsheet tabs, so this tab 1 is where I am writing the formula, which will reference data in a separate tab named 'All Data'. What the cell formula I'm trying to capture is a total count of rows where:
    All Data tab, column Z, rows 2 - 360 is greater than or equal to 60, but less than 90
    All Data tab, column T, rows 2 - 360 is equal to P or I (there are multiple letters in this row)
    All Data tab, column AD, rows 2 - 360, where name is equal to the name in cell A54 of the primary spreadsheet tab I am writing the formula.

    Here is what I have, but does not seem to be working:
    =SUMPRODUCT(--('All Data'!$Z$2:$Z$360>=60)*('All Data'!$Z$2:$Z$360<90)*('All Data'!$T$2:$T$360="P" or “I”),--('All Data'!$AD$2:$AD$360=A54))

    This should give me the total rows that meet this criteria. It's not working. I think the hiccup in this formula is the "P or "I" line.

    Recommendations?

    TJM
    Last edited by TJM; 09-07-2011 at 09:34 PM.

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

    Re: Sumproduct based on multiple criteria

    How about...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    08-05-2004
    Posts
    9

    Re: Sumproduct based on multiple criteria

    That worked!! Thank you very much!!

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

    Re: Sumproduct based on multiple criteria

    You're welcome...glad I could be of some help

+ 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