+ Reply to Thread
Results 1 to 5 of 5

How to mark cells doesn't contain "@"

  1. #1
    Forum Contributor
    Join Date
    06-09-2008
    Posts
    124

    How to mark cells doesn't contain "@"

    Hi
    I need a function that look on cell and if the cell doesn't contain "@ " return 0 else return 1
    Thank you

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    How about

    =IF(ISNUMBER(SEARCH("*@*",A3,1)),1,0)

    rylo

  3. #3
    Forum Contributor snasui's Avatar
    Join Date
    07-15-2007
    Location
    Songkhla, Thailand
    MS-Off Ver
    2010, 365
    Posts
    167
    Try this:

    =Isnumber(Search("@ ",A1))+0

    Hope this helps.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Or

    =1*ISNUMBER(SEARCH("*@*",A1))
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Contributor
    Join Date
    06-09-2008
    Posts
    124

    Great! Thank You

    Great! Thank You

+ 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