+ Reply to Thread
Results 1 to 2 of 2

Using the COUNT Functions

  1. #1
    Forum Contributor
    Join Date
    12-07-2004
    Posts
    596

    Using the COUNT Functions

    Problem:

    How can we count the cells in List1 (column A) according to the following criteria:
    1. Cell contains a number.
    2. Cell is not empty.
    3. Cell is empty.
    4. Cell contains a number larger than 5.
    5. Cell contains text.
    6. Cell contains the string \"Excel\".
    7. Cell contains 3 characters only.

    Solution:

    Use the COUNT, COUNTA, COUNTBLANK, and COUNTIF functions as shown in the following formulas:
    1. =COUNT(A2:A13)
    2. =COUNTA(A2:A13)
    3. =COUNTBLANK(A2:A13)
    4. =COUNTIF(A2:A13,\">5\")
    5. =COUNTIF(A2:A13,\"*\")
    6. =COUNTIF(A2:A13,\"*Excel*\")
    7. =COUNTIF(A2:A13,\"???\")


    To replace the criteria specified in the COUNTIF function with a cell reference containing the desired criteria, include the following operators:
    The same method can be applied when using the \"*\" operator (wildcard) to count cells containing a particular substring.
    Thus, with the information stored in C11:C14, the above COUNTIF functions (4-7) could be modified, as follows:
    1. =COUNTIF(A2:A13,\">\"&C11)
    2. =COUNTIF(A2:A13,C12)
    3. =COUNTIF(A3:A13,\"*\"&C13&\"*\")
    4. =COUNTIF(A2:A13,C14)

  2. #2
    Registered User
    Join Date
    01-18-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Using the COUNT Functions

    Thanks for the post.
    Here is a good video tutorial on the subject:

    https://www.youtube.com/watch?v=D-GI...ure=plpp_video

+ 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