+ Reply to Thread
Results 1 to 6 of 6

Place an X next to a cell that contains a word

  1. #1
    Registered User
    Join Date
    03-07-2006
    Posts
    19

    Place an X next to a cell that contains a word

    I have a column that has words in each cell. I want to search through the column and for any cell containing the word 'base' i want to place an X in the cell next to it.

    How can I do this?

    Please help!

    Thanks,
    Jerred

  2. #2
    Registered User
    Join Date
    03-07-2006
    Posts
    19
    Further Info:
    The cells containing words just dont contain one word

  3. #3
    Elkar
    Guest

    RE: Place an X next to a cell that contains a word

    Let's say your column of data is Column A. In Column B enter the formula:

    =IF(ISERROR(SEARCH("base",A1)),"","X")

    Copy the formula down Column B as needed.

    HTH,
    Elkar


    "jerredjohnson" wrote:

    >
    > I have a column that has words in each cell. I want to search through
    > the column and for any cell containing the word 'base' i want to place
    > an X in the cell next to it.
    >
    > How can I do this?
    >
    > Please help!
    >
    > Thanks,
    > Jerred
    >
    >
    > --
    > jerredjohnson
    > ------------------------------------------------------------------------
    > jerredjohnson's Profile: http://www.excelforum.com/member.php...o&userid=32236
    > View this thread: http://www.excelforum.com/showthread...hreadid=550489
    >
    >


  4. #4
    Registered User
    Join Date
    03-07-2006
    Posts
    19
    My hat off to you, thanks!

  5. #5
    paul
    Guest

    Re: Place an X next to a cell that contains a word

    =IF(ISERROR(SEARCH("base",D15,1)),"","x").
    replace the d15 with the first reference to search and copy down
    in my lttle test,base,scott base,baseball returned an x ,a blank cell or a
    cell with no base remained Blank

    --
    paul
    [email protected]
    remove nospam for email addy!



    "jerredjohnson" wrote:

    >
    > Further Info:
    > The cells containing words just dont contain one word
    >
    >
    > --
    > jerredjohnson
    > ------------------------------------------------------------------------
    > jerredjohnson's Profile: http://www.excelforum.com/member.php...o&userid=32236
    > View this thread: http://www.excelforum.com/showthread...hreadid=550489
    >
    >


  6. #6
    Dave Peterson
    Guest

    Re: Place an X next to a cell that contains a word

    One more:

    =if(countif(a1,"*" & "Base" & "*")=0,"","X")
    or
    =if(countif(a1,"*Base*")=0,"","X")
    or
    =if(countif(a1,"*" & C999 & "*")=0,"","X")
    if c999 holds the word Base.

    jerredjohnson wrote:
    >
    > I have a column that has words in each cell. I want to search through
    > the column and for any cell containing the word 'base' i want to place
    > an X in the cell next to it.
    >
    > How can I do this?
    >
    > Please help!
    >
    > Thanks,
    > Jerred
    >
    > --
    > jerredjohnson
    > ------------------------------------------------------------------------
    > jerredjohnson's Profile: http://www.excelforum.com/member.php...o&userid=32236
    > View this thread: http://www.excelforum.com/showthread...hreadid=550489


    --

    Dave Peterson

+ 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