+ Reply to Thread
Results 1 to 5 of 5

Find/Replace one line with multiple lines

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    4

    Find/Replace one line with multiple lines

    I have one line that I want to replace with multiple lines. Is there a way to do a global find/replace with multiple lines? I have around 1,700 lines to replace and it will take too long manually. I appreciate any help or suggestions!

    Line to be replace...

    (COUNTOUR 1)

    To be replaced with...

    W1
    GO4 X.2

    Thanks,

    Rodney

  2. #2
    Registered User
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excell 2010
    Posts
    22

    Re: Find/Replace one line with multiple lines

    It would be great if you could attach a sample workbook.

    Quote Originally Posted by ugonow View Post
    I have one line that I want to replace with multiple lines. Is there a way to do a global find/replace with multiple lines? I have around 1,700 lines to replace and it will take too long manually. I appreciate any help or suggestions!

    Line to be replace...

    (COUNTOUR 1)

    To be replaced with...

    W1
    GO4 X.2

    Thanks,

    Rodney

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excell 2010
    Posts
    22

    Re: Find/Replace one line with multiple lines

    You may try find and replace advanced option. please have a look on the attached image .

    You can get that pop by pressing Ctrl+H

    Find option.jpg

    Quote Originally Posted by ugonow View Post
    I have one line that I want to replace with multiple lines. Is there a way to do a global find/replace with multiple lines? I have around 1,700 lines to replace and it will take too long manually. I appreciate any help or suggestions!

    Line to be replace...

    (COUNTOUR 1)

    To be replaced with...

    W1
    GO4 X.2

    Thanks,

    Rodney

  4. #4
    Registered User
    Join Date
    10-10-2011
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find/Replace one line with multiple lines

    What I posted is all that is needed. The whole file won't help you. It's just a find and replace. Besides, I know you can attach a file, but I don't see where.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Find/Replace one line with multiple lines

    1) Select the cells that to be replaced.
    2) Find and Replace
    3) Find what (COUNTOUR 1), Replace ="W1"&chr(10)&"GO4 X.2"
    4) Change cell format to WrapText.

+ 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