+ Reply to Thread
Results 1 to 3 of 3

Formula for counting cells that contain certain text

Hybrid View

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    Virginia
    MS-Off Ver
    Microsoft Excel Starter 14.0
    Posts
    29

    Formula for counting cells that contain certain text

    So I have a group of cells which could either have "Yes" or "No". At the bottom I'd like a cell to calculate how many cells have "Yes" in them.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Formula for counting cells that contain certain text

    try thiis...
    =countif(A1:A10,"Yes")

    Adjust range as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Formula for counting cells that contain certain text

    Formula: copy to clipboard
    =COUNTIF(YourGroupOfCells,"Yes")

    should do the trick.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Counting cells with TEXT only.
    By ColdDay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2014, 05:53 PM
  2. Counting cells with colour fill, minus the cells with text
    By Crappy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-30-2013, 03:20 AM
  3. Formula for counting text values in column when value is repeated in cells
    By Blubirdjim in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-11-2012, 12:36 PM
  4. Counting text cells
    By OakmontBob in forum Excel General
    Replies: 3
    Last Post: 02-11-2009, 04:03 PM
  5. [SOLVED] Counting Occurrence of Text within Text in Cells in Range.
    By Jeremy N. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2005, 01:05 AM

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