+ Reply to Thread
Results 1 to 6 of 6

Using "or" with COUNTIFS

  1. #1
    Registered User
    Join Date
    04-06-2015
    Location
    Portland, USA
    MS-Off Ver
    2010
    Posts
    3

    Using "or" with COUNTIFS

    I'm trying to count respondents to a survey who answered any of the below criteria. Right now I'm using

    =SUMIF(COUNTIFS(Transgressions,(F36,F37,F38),Demographics,(B36,B37,B38,B39,B40)))


    where the F_ and B_ criteria are all presumed to be "and/or". It returns a formula parse error. How do I cross-check both named ranges (Transgressions and Demographics) for respondents who picked any combination of the two criteria sets?

    Thanks!

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,874

    Re: Using "or" with COUNTIFS

    Please attach a sample workbook..
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    04-06-2015
    Location
    Portland, USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Using "or" with COUNTIFS

    Okay, so technically it's in Google Sheets (please don't report me or something, no one has been able to help me so far and I'm desperate--sorry!) but I've attached a screenshot.

    workbook sample 1.png

    (I grayed out any sensitive information)

    The ranges "Transgressions" and "Demographics" are on a different sheet (where all the survey data shows up), and are named ranges of the fields P:Y and AA:AJ respectively.

    I hope that helps.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Using "or" with COUNTIFS

    Here's the sort of structure that you need.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    04-06-2015
    Location
    Portland, USA
    MS-Off Ver
    2010
    Posts
    3

    Red face Re: Using "or" with COUNTIFS

    That appears to have worked like a charm! Thank you so, so much for your help. Truly.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Using "or" with COUNTIFS

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. Excel formula "COUNTIFS" problem with ">"
    By danngkb in forum Excel General
    Replies: 4
    Last Post: 06-19-2014, 02:32 AM
  2. [SOLVED] Possibly Easy: Making an "Other" with Countifs; "Not this, this, or this"
    By nscarritt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2014, 11:44 AM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. Replies: 10
    Last Post: 01-26-2012, 08:26 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