+ Reply to Thread
Results 1 to 2 of 2

Having 2 conditions for countifs

  1. #1
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    Having 2 conditions for countifs

    Hello I am wanting to count 5 columns in 1 row i want to check if they are over 23 and even.

    I have =COUNTIFS(B2:F2,">23",B2:F2,SUMPRODUCT((MOD(B2:F2,2)=0)+0)).

    Not sure if this is the correct way to do it as I got 0 when it should be 1.
    Any help would be appreciated thank you

  2. #2
    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,984

    Re: Having 2 conditions for countifs

    One way:

    =SUMPRODUCT((B2:F2>23)*(MOD(B2:F2,2)=0))
    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

+ 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. [SOLVED] Countifs + 2 conditions
    By EXCELBENCH in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-26-2021, 06:19 AM
  2. [SOLVED] How to use CountIFS with some conditions ?
    By Ell0ll in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2020, 03:34 AM
  3. CountIfs With Multiple Conditions
    By 5150 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-13-2015, 11:16 AM
  4. COUNTIFS multiple conditions
    By akkerstad in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-04-2014, 03:38 PM
  5. [SOLVED] COUNTIFS with two string conditions
    By loloduane in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2014, 05:50 AM
  6. [SOLVED] CountIfs With Multiple Conditions
    By NotQuiteThere in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-18-2012, 09:35 PM
  7. Countifs for multiple conditions
    By batjl9 in forum Excel General
    Replies: 4
    Last Post: 03-25-2011, 09:07 PM

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