+ Reply to Thread
Results 1 to 3 of 3

countif

  1. #1
    AJ
    Guest

    countif

    I want to count the occurrences of multiple character strings eg. "AB" "XD"
    and "CD". Is there an easier way than = (countif(1:100), "AB") +
    (countif(1:100), "XD") etc.

  2. #2
    Dave Peterson
    Guest

    Re: countif

    =SUM(COUNTIF(A1:a100,{"AB","xd","cd"}))

    AJ wrote:
    >
    > I want to count the occurrences of multiple character strings eg. "AB" "XD"
    > and "CD". Is there an easier way than = (countif(1:100), "AB") +
    > (countif(1:100), "XD") etc.


    --

    Dave Peterson

  3. #3
    AJ
    Guest

    Re: countif

    Thank you! Exactly what I am looking for. I tried to put something like
    this together but didn't realize that I would have to use "SUM" and I admit
    that I don't know when to use the characters "{" and "}" in a formula.

    "Dave Peterson" wrote:

    > =SUM(COUNTIF(A1:a100,{"AB","xd","cd"}))
    >
    > AJ wrote:
    > >
    > > I want to count the occurrences of multiple character strings eg. "AB" "XD"
    > > and "CD". Is there an easier way than = (countif(1:100), "AB") +
    > > (countif(1:100), "XD") etc.

    >
    > --
    >
    > Dave Peterson
    >


+ 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