how to transform text in the same cell into new lines in power query

Sian1

Board Regular
Joined
Nov 9, 2009
Messages
90
Hi, hope all is well.
does anyone knows if i could transform the cell eg Reason - Review; Manager Approval into Review in the same cell? for easy reading
Approval
IDDateReasonComment
ab1232/10/2022Review; Manager Approvalbeing processed ; waiting for approval

IDDateReasonComment
ab1232/10/2022Review;
Manager Approval
being processed ;
waiting for approval
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Do you mean you just want to add a line feed after the semicolon(s) in the result table so that the items are each on a separate line within the cell?
 
Upvote 0
In the PQ editor, you can use the replace values option to replace ; with ;#(lf) and then all you need to do is apply Word Wrap to the column in the result table.
 
Upvote 0

Forum statistics

Threads
1,223,671
Messages
6,173,737
Members
452,533
Latest member
Alex19k

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top