+ Reply to Thread
Results 1 to 17 of 17

Count values with multiple OR criteria

  1. #1
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Count values with multiple OR criteria

    I trust everyone is safe and healthy?
    Working on a Matrix for Gymnastics Judges.
    I cannot work out the correct formula to record the allocations of Judges to Candidates. - summary resullts
    The Outcome required is as per Allocation Tab in the attached example.
    My suggested formula does not work – Maybe I am on the wrong track?
    Would appreciate the correct formula placed in the Workbook and returned.
    THankyou
    Attached Files Attached Files
    Last edited by VisionSmart; 02-25-2022 at 07:44 AM.

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

    Re: SUMPRODUCT(COUNTIFS problem

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    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
    43,986

    Re: Count values with multiple OR criteria

    Thanks for that:

    =SUMPRODUCT(--((Draw_1!$B$11:$L$17=D$6)+(Draw_1!$C$11:$M$17=D$6)+(Draw_1!$D$11:$N$17=D$6))*(Draw_1!$E$11:$O$17=$A11))

    seems to do what you want.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Count values with multiple OR criteria

    Thankyou for Speedy response Glen.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Count values with multiple OR criteria

    @Glenn,
    I notice you frequently enter SUMPRODUCT as an array formula (or they appear so in 2010) ?????
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  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
    43,986

    Re: Count values with multiple OR criteria

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  7. #7
    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
    43,986

    Re: Count values with multiple OR criteria

    JT... really?? Now I'm on O365, I enter nothing as an array (for myself). I suspect there's a "feature" at play here. I looked at the formula which I used... and the microsoft compatability checker DOES indeed tell me that it will be converted into an array formula in older Excel versions. Clearly that formula requires NO array entry. Maybe I need to read a bit more about the new (and very annoying) @ implicit intersection thing they've introduced in O365.

  8. #8
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Count values with multiple OR criteria

    Reputation message says I need to share points - but don't understand how to do this - sorry Glenn
    I will hold on the Solved until I completely test on my live Workbook which is considerable size.

  9. #9
    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
    43,986

    Re: Count values with multiple OR criteria

    VisionSmart... if you're still here... can you CONFIRM

    a) that the formula looks like an array formula when you open my file, and

    b) that it works equally well when set with just Enter?

    See John T's comment a post or two earlier.

  10. #10
    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
    43,986

    Re: Count values with multiple OR criteria

    It just means that the last person you gave some to was me... it's a measure to stop rep-swapping cartels. Someone else needs to benefit from your rep button...

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Count values with multiple OR criteria

    @Glenn: formula works OK with normal entry: I "suspected" it that it might be related to an OS365 "feature"!

  12. #12
    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
    43,986

    Re: Count values with multiple OR criteria

    JT... is it just me, or have you seen this with any other O365-users?

  13. #13
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Count values with multiple OR criteria

    Formula shows the Array symbols and works on 2020 OK thanks
    How do I include J4, J5, J6 as I plan to include in the master Workbook?

  14. #14
    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
    43,986

    Re: Count values with multiple OR criteria

    I'm not sure how you want to include them. Repost a sample sheet showing a few expected answers.

  15. #15
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Count values with multiple OR criteria

    @Glenn, I have not noticed it with other OS365 Users but I will keep an eye out for this with the OS365 community.

  16. #16
    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
    43,986

    Re: Count values with multiple OR criteria

    OK. I'll have a guess at this, as it's night time in Oz... I have gone back to something much more like your original formula:

    =SUMPRODUCT(COUNTIFS(Draw_1!$B$11:$L$17,D$6:D$7,Draw_1!$E$11:$O$17,$A11)+COUNTIFS(Draw_1!$C$11:$M$17,D$6:D$7,Draw_1!$E$11:$O$17,$A11)+COUNTIFS(Draw_1!$D$11:$N$17,D$6:D$7,Draw_1!$E$11:$O$17,$A11))
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Count values with multiple OR criteria

    That formula works terrific! - using Array process

    Thankyou Glenn.

+ 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. Count values in 2 different columns when there is input
    By Bandito1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2018, 03:46 AM
  2. Sumproduct vs countifs or Sumproduct + countifs
    By Xsample in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2018, 02:16 PM
  3. Help with COUNTIFS and/or SUMPRODUCT
    By bayouwxman in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 01-31-2018, 02:15 PM
  4. [SOLVED] Sumproduct to replace countifs as countifs don't work on external source reference
    By KrishnaSagar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2017, 02:33 AM
  5. [SOLVED] COUNTIFS and SUMPRODUCT Problem/Frustration
    By fearonc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-28-2015, 07:09 PM
  6. [SOLVED] CountIfS and SUMPRODUCT need help
    By rschoenb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2014, 11:21 PM
  7. [SOLVED] Sumproduct/countifs
    By mahat in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-21-2014, 10:30 PM

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