+ Reply to Thread
Results 1 to 5 of 5

Find

Hybrid View

  1. #1
    jonathan9560@gmail.com
    Guest

    Find

    I am trying to find a cell containing the letters I know, is there a
    function that allows wildcard characters.

    For ex:

    I want to find "HIJ" or "HI" or "HIJKL"

    in Cells containing string of letters: "ABCDEFGHIJKLMNOPQRS"

    Thanks,

    J9


  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by jonathan9560@gmail.com
    I am trying to find a cell containing the letters I know, is there a
    function that allows wildcard characters.

    For ex:

    I want to find "HIJ" or "HI" or "HIJKL"

    in Cells containing string of letters: "ABCDEFGHIJKLMNOPQRS"

    Thanks,

    J9
    Try this ...

    =NOT(ISERROR(SEARCH("xxxxxx",A1)))

    where xxxxxx = text that you want to search and
    A1 = cell is where the string to be searched is in.

    Hope this is what you are looking for ... regards.
    BenjieLop
    Houston, TX

  3. #3
    jonathan9560@gmail.com
    Guest

    Re: Find

    Thanks guys, both ways worked. I think I was looking for the SEARCH
    function.

    Again Thanks


  4. #4
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Thank you for the feedback.

    Regards.

  5. #5
    Ron Coderre
    Guest

    RE: Find

    See if one of these works for you:

    If you want to check if a cell contains "ABC" or "JK" or "MNO":
    B1: =SUMPRODUCT(COUNTIF(A1,"*"&{"ABC","JK","MNO"}&"*"))>0

    If you only need to check for one string (example: "JK"):
    B1: =COUNTIF(A1,"*JK*")>0

    (note: COUNTIF is not case sensitive)

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "jonathan9560@gmail.com" wrote:

    > I am trying to find a cell containing the letters I know, is there a
    > function that allows wildcard characters.
    >
    > For ex:
    >
    > I want to find "HIJ" or "HI" or "HIJKL"
    >
    > in Cells containing string of letters: "ABCDEFGHIJKLMNOPQRS"
    >
    > Thanks,
    >
    > J9
    >
    >


+ 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