+ Reply to Thread
Results 1 to 5 of 5

Count if cell contains one or more characters

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    28

    Count if cell contains one or more characters

    Hi,

    I need to count number of cells within a range that contain one or more characters.
    eg. 123KDA, 245FDA, 43GHI...

    Number of cells that contain DA shoud be 2.

    Please help.

    Thanks in advace
    Terry

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count if cell contains one or more characters

    Try this...

    Data Range
    A
    B
    C
    D
    1
    123KDA
    DA
    2
    2
    245FDA
    3
    43GHI
    4
    5
    ------
    ------
    ------
    ------


    This formula entered in D1:

    =COUNTIF(A1:A5,"*"&C1&"*")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Count if cell contains one or more characters

    Or

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    v A B C
    1 123KDA 2
    2 245FDA
    3 43GHI
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    10-25-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Count if cell contains one or more characters

    It works. Thanks a lot.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count if cell contains one or more characters

    You're welcome. Thanks for the feedback!

+ 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. [SOLVED] Count No. of characters in a cell
    By nagesh.tvsr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2014, 05:02 AM
  2. [SOLVED] Can I count characters in a cell
    By tuph in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2014, 10:09 PM
  3. Count Characters in a Cell
    By TOTO_POP in forum Excel General
    Replies: 2
    Last Post: 08-06-2010, 06:03 AM
  4. Count the number of Characters in a cell?
    By IGinc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2009, 03:02 AM
  5. count of tab characters in a single cell
    By mark in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-18-2006, 02:00 PM
  6. Count Number of Characters in a cell?
    By AHJuncti in forum Excel General
    Replies: 2
    Last Post: 06-16-2005, 02:39 PM
  7. counting characters in a cell:put that count i
    By cynder77 in forum Excel General
    Replies: 3
    Last Post: 02-01-2005, 01:03 PM

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