+ Reply to Thread
Results 1 to 10 of 10

Countifs with or condition

  1. #1
    Forum Contributor
    Join Date
    07-17-2020
    Location
    Uzbek
    MS-Off Ver
    Office 365, V 2212
    Posts
    201

    Post Countifs with or condition

    Hi Experts,

    I was wandering if there is any other way to use the below mentioned countifs formula as it's giving error result.

    Basically, i want to count if x value is in column B:B and z value is in any K or L or M or N or O or P or Q or R or T columns.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The attached file is for your ref plz.
    Attached Files Attached Files
    Last edited by Gulya; 08-26-2022 at 02:28 AM.

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

    Re: Countifs with or condition

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

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,748

    Re: Countifs with or condition

    You can use mmult to do that, can you post a sample workbook.

  4. #4
    Forum Contributor
    Join Date
    07-17-2020
    Location
    Uzbek
    MS-Off Ver
    Office 365, V 2212
    Posts
    201

    Re: Countifs with or condition

    Quote Originally Posted by Fluff13 View Post
    You can use mmult to do that, can you post a sample workbook.
    HI Fluff13,
    I have attached the sample file, can u plz have a look

  5. #5
    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,492

    Re: Countifs with or condition

    Try this:

    =SUMPRODUCT(($B$2:$B$37=823)*($C$2:$K$37=824))

    Replace numbers in red for whatever you want.
    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.

  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,492

    Re: Countifs with or condition

    Any questions?

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,748

    Re: Countifs with or condition

    Quote Originally Posted by Gulya View Post
    I have attached the sample file
    Thanks for that, how about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    07-17-2020
    Location
    Uzbek
    MS-Off Ver
    Office 365, V 2212
    Posts
    201

    Re: Countifs with or condition

    Thanks a lot Ali and Fluff, working perfectly

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

    Re: Countifs with or condition

    You're welcome.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,748

    Re: Countifs with or condition

    Glad to help & thanks for the feedback.

+ 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. How to use COUNTIFS with a wide range and set of condition
    By godmanaraya in forum Excel General
    Replies: 5
    Last Post: 06-25-2021, 08:54 AM
  2. [SOLVED] COUNTIFS with OR condition
    By technik in forum Excel General
    Replies: 7
    Last Post: 09-25-2019, 12:57 PM
  3. [SOLVED] Multiple Condition Countifs with Uniqueness as Condition
    By semantics in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-21-2017, 05:21 PM
  4. COUNTIFS using date as condition
    By aijp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-21-2013, 04:27 PM
  5. [SOLVED] Countifs with a date as a condition
    By nickmessick1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-06-2013, 07:58 AM
  6. Replies: 3
    Last Post: 12-16-2011, 10:55 AM
  7. COUNTIFS with a variable condition
    By cjsec9 in forum Excel General
    Replies: 2
    Last Post: 04-01-2009, 02:51 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