+ Reply to Thread
Results 1 to 6 of 6

Find/Replace in Excel

Hybrid View

  1. #1
    Registered User
    Join Date
    11-27-2007
    Posts
    3

    Find/Replace in Excel

    I'm moving text from a table in Word into a table in Excel. I encountered the problem of Excel not recognizing line breaks, and removed these line breaks by finding/replacing the breaks with a vertical bar.

    Text is now in the appropriate cells in the Excel table. Now, I'd like to find the vertical bars and replace them with line breaks in this Excel table, so that the text doesn't run together and I get spacing similar to how it looked in the Word table.

    Any ideas? I'm at a loss.

    Oh and note: I have Excel for Mac.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    If it's the pipe character (124), just do Ctrl+h, Find |,
    put the cursor in the Replace With, (the tricky part is coming) ...

    Hold down the Alt key, and on the NUMERIC keyboard, type 010, then hit Replace All.

  3. #3
    Registered User
    Join Date
    11-27-2007
    Posts
    3
    Thanks shg.

    When I did that, it actually just replaced the vertical bars with the funny symbol created by ALT+010 (º¡º). It's like it didn't recognize it as code. Anything I might be doing wrong?

    I'm not sure what the pipe character is you are talking about, maybe that's where the confusion is. A message board just told me to replace ^p with | in Word to get rid of the breaks.
    Last edited by margemynx3; 11-28-2007 at 12:11 AM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Character 10 (linefeed) is what you use to add a line break in Excel.

    The ^p is used in Word Find & Replace, not Excel, to indicate a paragraph break. So if you can make the changes in Word before importing, that's great.

    I don't understand the character you're seeing ...

    Do you want to post an example?

    BTW, are you on a PC or a Mac?

  5. #5
    Registered User
    Join Date
    11-27-2007
    Posts
    3
    OK it works on my work PC (last night I was on a Mac). Thank you shg!!!!!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Well, great, you're welcome!

+ 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