+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Posts
    136

    how to search in a column

    hey all,

    suppose i have column A with texts and numbers
    john123
    ab-john
    123john

    can i create in B formula to read only the word john if exists or not in A ?

    thanks
    Evil is the root of all Mon$y

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: how to search in a column

    You can use wildcards with both MATCH & COUNTIF functions, ie:

    =ISNUMBER(MATCH("*john*",A1:A100,0))

    or

    =COUNTIF(A1:A100,"*john*")>0

  3. #3
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: how to search in a column

    Hi,

    You can try
    =ISNUMBER(SEARCH("john",A2))
    HTH

  4. #4
    Forum Contributor
    Join Date
    09-19-2007
    Posts
    136

    Re: how to search in a column

    Quote Originally Posted by JeanRage View Post
    Hi,

    You can try


    HTH
    Works

    but i had to start from b2 copied down

    thank you
    Evil is the root of all Mon$y

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.2.0