+ Reply to Thread
Results 1 to 4 of 4

Can you do an "or" for countifs?

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Can you do an "or" for countifs?

    Hello. Can you do countif and have two criteria "hit" or "miss".

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Can you do an "or" for countifs?

    Hi.

    In general, yes, though it would help if you were a little more specific.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Can you do an "or" for countifs?

    The easy way would be to sum the countif's together

    =SUM(Countif(A1:A10,"hit"),countif(a1:a10,"miss"))
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Can you do an "or" for countifs?

    Quote Originally Posted by Speshul View Post
    The easy way would be to sum the countif's together

    =SUM(Countif(A1:A10,"hit"),countif(a1:a10,"miss"))
    That can also be abbreviated slightly to:

    =SUM(COUNTIF(A1:A10,{"hit","miss"}))

    Regards

+ 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

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