+ Reply to Thread
Results 1 to 4 of 4

Find a text/string and replace it

  1. #1
    Registered User
    Join Date
    07-02-2014
    Location
    Prague
    MS-Off Ver
    2007
    Posts
    59

    Find a text/string and replace it

    Hi guys, I would like to ask you, if the following is possible in excel:

    I have 4 columns in which is text combined with numbers (Lorem ipsum dolor sit amet t-shirt LPW01-B consectetur adipiscing.)
    I need to search every column and cells in them for a word/string which is written in R2 and replace the word in every cell by the word in S2

    So for example, in R2 is "t-shirt" and in S2 is "potato"

    The program finds the entry: "Lorem ipsum dolor sit amet t-shirt LPW01-B consectetur adipiscing." and replace it with "Lorem ipsum dolor sit amet potato LPW01-B consectetur adipiscing."

    Do you know what I mean?
    Any help will be appreciated.

    Thank you.

    P.S.: I am having a trouble with uploading the file directy here, so here's a link: https://www.sendspace.com/file/0fdts7

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Find a text/string and replace it

    hi royalB, if data in A:D columns

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-02-2014
    Location
    Prague
    MS-Off Ver
    2007
    Posts
    59

    Re: Find a text/string and replace it

    Quote Originally Posted by watersev View Post
    hi royalB, if data in A:D columns

    Please Login or Register  to view this content.
    Works absolutely gorgeous ) thank you.

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Find a text/string and replace it

    How about this?
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

+ 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] VBA to Search a Text String, Find a Value listed in another column and replace the text
    By Jschrod303 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2012, 08:56 PM
  2. Find and Replace text within string
    By Soulbringer in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-22-2012, 12:30 PM
  3. Find and Replace Multiple Text String VBA
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-28-2011, 11:00 AM
  4. Find a string of characters and then either keep the text or replace it
    By knitterkuba in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2010, 05:15 PM
  5. [SOLVED] Find and replace part of a text string
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 07-10-2006, 05:39 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