+ Reply to Thread
Results 1 to 14 of 14

Find and replace with criteria

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Find and replace with criteria

    hello all,

    how to find and replace to prefix and suffix string/text, see this below :

    JACK MANHOLD ----------- JACK
    SISCA JACK HOLAND ------- JACK
    ANDREW JACK ------------- JACK

    thanks for your help....

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Find and replace with criteria

    What is the Replacement Tex for Jack?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    sixthsense........

    all the result after REPLACE is JACK

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Find and replace with criteria


    a
    b
    1
    manhold
    jack manhold
    2
    manhold
    manhold jack



    b
    1
    ="jack "&a1
    2
    =a2&" jack"

  5. #5
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    thanks but not my goal...

    i mean how to using FIND AND REPLACE maybe with wildcard or anything to get the result only text :JACK

    it's possible, Sixthsense...

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Find and replace with criteria

    No it's not possible to do it in Find & Replace

  7. #7
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    Sixthsense

    how about macros...

    perhaps...it's solution..

    could you help me???

  8. #8
    Registered User
    Join Date
    10-30-2012
    Location
    Macon, Georgia
    MS-Off Ver
    2003 - 2010
    Posts
    5

    Re: Find and replace with criteria

    I just tried with *Jack* in the Find What and Jack in the Replace With and it worked for me....

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Find and replace with criteria

    Still the Title making me confused

    Whether you would like to just add the text as Prefix Or Suffix?

    Or

    You would like to find a Text in Cell in the Prefix area or Suffix area and Replace it to Another Text?

  10. #10
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    Georgia....

    YOU ARE BRILLIANT...

    THANKS ALL!!!!!!

  11. #11
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Find and replace with criteria

    use the attached file and check whether it solved your purpose or not?


    Regards
    Mahaveer Somani
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    thanks Friend....

    it's sweet answer....

    and for you, Sixthsense, i am missing with writing structure...and so thanks for your attention....

  13. #13
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    once again...

    for 3 text this below i tried not working :

    SPBBS Januari 2006 ------------- SPPBS (desired result)
    SPBBS November 2006 ------------ SPPBS
    SPBBS 2006 -------------------- SPPBS

    WHY???

  14. #14
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Find and replace with criteria

    hi all..

    i think for 3 data above (post #13), there is something wrong..maybe it's format type or error, and i don't know why,
    actually then i copy paste the 3 data look like good...but not running when i am using FIND AND REPLACE....

  15. #15
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Find and replace with criteria

    =IF(A2="";"";LOOKUP(2*15;SEARCH($C$2:$C$3;SUBSTITUTE(SUBSTITUTE(A2;",";"");" ";""));$C$2:$C$3))

    or see the files

    Azumi
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] find and replace to not replace characters found as wildcards
    By sabutler4 in forum Excel General
    Replies: 4
    Last Post: 07-03-2013, 06:48 PM
  2. [SOLVED] Find and replace using cell contents as the search criteria
    By Vlad717 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2013, 03:58 PM
  3. [SOLVED] Find blank cell and replace based on criteria
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-27-2012, 05:36 AM
  4. find in excel replace in word: find/replace text in text boxes and headers
    By dean.rogers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2012, 12:40 PM
  5. [SOLVED] find and replace - replace data in rows to separated by commas
    By msdker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 08:10 PM

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