+ Reply to Thread
Results 1 to 6 of 6

countifs trouble

  1. #1
    Registered User
    Join Date
    01-23-2016
    Location
    england
    MS-Off Ver
    2010
    Posts
    79

    Exclamation countifs trouble

    Not sure how to put this formula together.

    =COUNTIFS(A18:A134,A3,C18:C134,"Yes", (J18:J134,"Yes" or Q18:Q134,"Yes")

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,565

    Re: countifs trouble

    Like this:

    =COUNTIFS(A18:A134,A3,C18:C134,Q18:Q134,"Yes")+COUNTIFS(A18:A134,A3,C18:C134,"Yes", J18:J134,"Yes")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-23-2016
    Location
    england
    MS-Off Ver
    2010
    Posts
    79

    Re: countifs trouble

    its saying too few arguments are entered for this function.

    If both say Yes I just want to count 1.

    J18:J134,"Yes" or Q18:Q134,"Yes"

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: countifs trouble

    Perhaps:

    =SUMPRODUCT((A18:A134=A3)*(C18:C134="Yes")*(((J18:J134="Yes")+(Q18:Q134="Yes"))>0))
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Registered User
    Join Date
    01-23-2016
    Location
    england
    MS-Off Ver
    2010
    Posts
    79

    Re: countifs trouble

    Thanks that worked great

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,565

    Re: countifs trouble

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. COUNTIFS Trouble
    By adlx72 in forum Excel General
    Replies: 16
    Last Post: 10-19-2018, 02:52 PM
  2. Trouble with COUNTIFs
    By motteh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-04-2016, 03:43 PM
  3. [SOLVED] Countifs trouble across multiple rows & columns
    By punkaholicgravy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-17-2015, 09:55 AM
  4. Trouble with COUNTIFS
    By HPIMICHAEL02 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-22-2013, 02:25 PM
  5. Trouble with COUNTIFS() formula
    By neoshaakti in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-20-2013, 08:49 AM
  6. Excel 2007 : Trouble with Countifs
    By jayres14 in forum Excel General
    Replies: 3
    Last Post: 03-09-2012, 09:51 AM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 AM

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