+ Reply to Thread
Results 1 to 3 of 3

Count the number of cells in a column containing specific text

  1. #1
    Forum Contributor
    Join Date
    04-11-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    106

    Count the number of cells in a column containing specific text

    Hi -

    I have a procedure that looks at values in column 2 and if an error is found, it places an "x" in column 3. I want to generate a msgbox that displays not only the total number of vaues checked, but the total number of errors found as well. In short, I need to count the number of times the value "x" appears in column 3 and display this value in the MsgBox.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    554

    Re: Count the number of cells in a column containing specific text

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    554

    Re: Count the number of cells in a column containing specific text

    And to explain: You've already got a Total = Total + 1 in there, it's not exactly theoretical physics to put another counter in the section that's triggered when you find an error.

+ 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