Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: COUNTIF criteria question

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a worksheet column composed of the letters “B”, “BM”, “BW”, or “X”.

    The goal is to total all the “B”, “BM”, and “BW” entries. I can to this with the following:

    =COUNTIF(E2:E17,"B")+COUNTIF(E2:E17,"BM")+COUNTIF(E2:E17,"BW")

    Is there a way to combine the above calculation with “IF” or “OR” functions and the criteria “B”, “BM”, “BW” into just one
    COUNTIF (E2:E17, ………………) statement?


  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =COUNTIF(E2:E17,"B*")

  3. #3
    New Member
    Join Date
    Apr 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Wow! That was simple. Thanks.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •