Results 1 to 6 of 6

Search for specific text in a string and replace

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-10-2007
    MS-Off Ver
    Excel 2010
    Posts
    293

    Search for specific text in a string and replace

    Hello,

    I have a text such as:


    fdfs&s_kwcid
    sfsd&s_kwcid=dfsads
    &dfsdaf&dsafdsf&s_kwcid=
    fdsf&dasfsdf&s_kwcid=dsfasfsdf



    etc.

    What I want to do is search for "&s_kwcid" or anything containing "&s_kwcid" and replace it with blank.

    So above would then read:

    fdfs
    sfsd
    &dfsdaf&dsafdsf
    fdsf&dasfsdf


    I tried =IF(SUM(COUNTIF(E2,{"&s_kwcid*"}))=1,E2,"") but it didn't work.

    I tried auto filtering, and using contains &s_kwcid* but it didn't filter out results, but find &s_kwcid did find results for text anywhere in string, so I know the problem is there.

    Any help would be apprecaited.

    Thanks
    Last edited by VegasL; 12-04-2009 at 04:46 PM.

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