Results 1 to 6 of 6

Combining COUNTIF and OR [SOLVED]

Threaded View

  1. #1
    Registered User
    Join Date
    05-18-2010
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    2

    Combining COUNTIF and OR [SOLVED]

    hi everyone,

    In a range, by example C2:C20, I have everytime one letter of the alphabet (for the moment only A, B, C, D or E)

    I would like to count the number of As and Bs

    For the moment I have solved my problem by adding both counts:
    =COUNTIF(C2:C20,"A")+COUNTIF(C2:C20,"B")

    But since I intend to extend the range and the number of letters to count, I'd like to know if there is a way to write, by example

    =COUNTIF(C2:C20,"A" OR "B")
    Last edited by nickhk; 05-18-2010 at 04:27 AM. Reason: [solved]

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