In Mac Excel, how can I replace with newline?
and replace all with
Please any help would be highly appreciated.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
You can do this by pressing Option Enter at the point you want to insert the line break.
It's best that you format the cell(s) as Text to ensure the best results.
You can do this on a mass basis with Search & Replace. As before, it's important to format your cells as text. In the replace field, use the generic formula
CHAR(10)as the symbol for
Using this methodology, you can "fix" multiple lines of text (like an address). See the animation below for an example:
You can use the Find & Replace
How to find or replace a line break in Excel for Windows
To replace a line break with a space or any other separator, enter the line break character in the Find what filed by pressing Ctrl + J. This shortcut is the ASCII control code for character 10 (line break, or line feed).
After pressing Ctrl + J, at first sight the Find what box will look empty, but upon a closer look you will notice a tiny flickering dot like in the screenshot below. Enter the replacement character in the Replace with box, e.g. a space character, and click Replace All. Replacing all line breaks on the sheet with spaces
To replace some character with a line break, do the opposite - enter the current character in the Find what box, and the line break (Ctrl + J) in Replace with.
Since I do not have Excel to verify it here is what I found for you to try.