+ Reply to Thread
Results 1 to 4 of 4

If(Search to say "YES" or "NO" if cell contains specific text

  1. #1
    Registered User
    Join Date
    01-24-2014
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    2

    If(Search to say "YES" or "NO" if cell contains specific text

    I have a column of cells with names in them like the example below. I'd like to have a formula in another cell that will tell me "YES" or "NO" if the original cell contains "Mark". I'm thinking I can use an If(Search formula but I can't seem to figure it out.

    Bob, Mark, Lisa, Fred

    Thank you


    P.S.: I've read the forum rules and searched fir this already. This is my first post so please take it easy on me if I did something wrong.

  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: If(Search to say "YES" or "NO" if cell contains specific text

    Maybe something like this:

    =IF(COUNTIF(A2,"*Mark*"),"Yes","No")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-24-2014
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: If(Search to say "YES" or "NO" if cell contains specific text

    Excellent! Thank you Tony.

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

    Re: If(Search to say "YES" or "NO" if cell contains specific text

    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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  4. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  5. How can i copy value from "HTMLText"(EMBED("Forms.HTML:Text","")),using Macro
    By andrewyang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 12:47 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