+ Reply to Thread
Results 1 to 5 of 5

Power Query - Find and Replace Line Breaks

  1. #1
    Forum Contributor
    Join Date
    06-01-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    MS Office 2010
    Posts
    201

    Power Query - Find and Replace Line Breaks

    Is there a way to Find and Replace Line Breaks of entire data set imported into Power Query.

    Any help is appreciated.

  2. #2
    Forum Expert sandy666's Avatar
    Join Date
    02-05-2015
    Location
    Any Country
    MS-Off Ver
    farerwell
    Posts
    8,749

    Cool Re: Power Query - Find and Replace Line Breaks

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Which Line Breaks:

    cf.jpg

    or if you know what with what
    select all columns, then... Home - Replace Values

    fandr.jpg

    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
    then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.
    Last edited by sandy666; 03-27-2018 at 12:46 AM.
    sandy
    How to create an editor for Power Query with Notepad++ (tutorial)
    How to create timeline project with vertical today marker (2010, 2013, 2016 etc...) (examples)
    Tips for Excellent Spreadsheets

    What makes learning so hard is the amount of knowledge you have to unlearn
    Why is my program not doing what I expect?
    Because you set the wrong expectations. Rewire your brain

  3. #3
    Forum Contributor
    Join Date
    06-01-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    MS Office 2010
    Posts
    201

    Re: Power Query - Find and Replace Line Breaks

    I am trying to replace the break we usually do via keyboard "Ctrl + J" or "Alt + 0010"

  4. #4
    Forum Contributor
    Join Date
    06-01-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    MS Office 2010
    Posts
    201

    Re: Power Query - Find and Replace Line Breaks

    I am afraid it doesn't allow in Power Query unless you enter a value to find and replace.

    Usually in a spreadsheet I use "Control + J" or ALT + 0010 (in Keypad) to find the "Line Breaks" and easily replace them.

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Query - Find and Replace Line Breaks

    In the Replace dialog, click Advanced options, then check the 'Replace using special characters' option, and choose Line feed. Or simply enter
    #(lf)
    into the Replace box.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Formulas and Line Breaks - inserting mid-string & removing excess breaks
    By MattDay2u in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-24-2017, 09:54 AM
  2. Power query - replace all contents if word appears
    By rewdsaDSAdas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-08-2017, 04:27 PM
  3. Find Description field and remove multiple line breaks
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2015, 03:34 PM
  4. Code that will find and group data together within multiple columns, insert line breaks __
    By onelineatatime in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2015, 06:10 AM
  5. [SOLVED] Find & Edit Formatting of text in string that includes line breaks
    By Jennasis in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2014, 11:50 AM
  6. [SOLVED] Script to replace speacial characters with line breaks
    By saranyabi in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-06-2013, 09:06 AM
  7. Adding line breaks by using find and replace
    By soozie in forum Excel General
    Replies: 3
    Last Post: 03-06-2005, 08:06 PM

Tags for this Thread

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