+ Reply to Thread
Results 1 to 8 of 8

Countifs sum of mutiple criteria

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Countifs sum of mutiple criteria

    I need to have the total count of times "Seller" "Landlord" and "Both" appear in column E in 2005.

    Obviously, if I add anymore criteria in this formula it will require the entry to have all three categories in order to count it.

    =COUNTIFS(Deals!$E$2:$E$500,"Seller", Deals!$C$2:$C$500,">=1/1/2005",Deals!$C$2:$C$500,"<=1/1/2006")

    Is this a function for SUMPRODUCT?

    Thanks!

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

    Re: Countifs sum of mutiple criteria

    See if this works for you...

    =SUM(COUNTIFS(Deals!$E$2:$E$500,{"Seller","Landlord","Both"}, Deals!$C$2:$C$500,">=1/1/2005",Deals!$C$2:$C$500,"<=1/1/2006"))
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Countifs sum of mutiple criteria

    You guys are really outstanding. Thank you so much!!!!!

    I'm new to using {}, do these indicate an array? (Not much experience with these yet)

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

    Re: Countifs sum of mutiple criteria

    Essentially yes and you are very welcome, glad it worked out for you.

    ================================================================

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Countifs sum of mutiple criteria

    I assume that there is Date column which is in A column: then
    =SUMPRODUCT((YEAR(A:A)=2005)*(C:C="Seller"))

  6. #6
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Countifs sum of mutiple criteria

    Ah there is a date column, I'm surprised no one yet has offered me this particular formula...

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Countifs sum of mutiple criteria

    Try..

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Countifs sum of mutiple criteria

    Thanks Ace!

+ 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