+ Reply to Thread
Results 1 to 2 of 2

Can I add an 'or' condition to the COUNTIF function? If not, what other function can I use

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Can I add an 'or' condition to the COUNTIF function? If not, what other function can I use

    Hello, everyone.

    I have to look for a select group of words in a range of cells. Some cells contain more than one of the words that I am looking for. I need a function that will count the cells that contain the specific words without double counting the cells that contain more than one of the words.

    Which function can I use to do this? I do not know how to add a condition to the countif function that will prevent it from counting twice (or thrice) the cells that contain more than one of the specific words.

    Any and all help is appreciated.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Can I add an 'or' condition to the COUNTIF function? If not, what other function can I

    try
    =COUNTIF(A1:A5,{"*first word*","*second word*"}) - just separate the words with comma then put the asterisks *
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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