+ Reply to Thread
Results 1 to 3 of 3

find specific character in a cell

  1. #1
    Registered User
    Join Date
    12-12-2006
    Posts
    63

    find specific character in a cell

    hi, I have a range of cells, some have the character in and some don't. I need a quick way of finding which cells have the character or not, so I can sort them. Is there a simple formula for this?

    thanks
    Liam

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    find specific character in a cell

    With
    A1: (any value)

    This formula returns 1 if A1 contains the letter "A":
    B1: =COUNTIF(A1,"A")

    Note: COUNTIF is NOT case-sensitive. That formula will return 1 for both of these:
    A1: 123a5
    A1: 123A5

    If you need an exact case-sensitive match, then this formula returns TRUE if A1 contains ""A":
    B1: =ISNUMBER(FIND("A",A1))

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    12-12-2006
    Posts
    63
    the ISNUMBER works perfect.

    many thanks
    Liam

+ 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