+ Reply to Thread
Results 1 to 4 of 4

Checking if an entry contains a certain character

  1. #1
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Checking if an entry contains a certain character

    Hi guys,

    This one should be easy...
    Which formula in B1 checks if there is a certain character (to be specific, comma) in A1?

    If I use "search" or "find", the formula returns "VALUE!" if the character is not there.
    I need anything else - true/false or 1/0 or whatever.

    Thanks in advance!
    Last edited by Hitch75; 03-03-2011 at 12:53 PM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Checking if an entry contains a certain character

    Did you try:

    Please Login or Register  to view this content.
    Cheers,
    Last edited by ConneXionLost; 03-03-2011 at 12:43 PM.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Checking if an entry contains a certain character

    Formula in B2 and drag down
    A1 B1
    theres a comma here, somewhere --- true
    rheres a comma here somewhere --- not present

    =IF(ISNUMBER(SEARCH(",",A1)),"true","not present")
    Last edited by scottylad2; 03-03-2011 at 12:51 PM.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  4. #4
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Checking if an entry contains a certain character

    Both work!!
    Thanks a lot

+ 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