I am using MS Excel on a Mac.
I have a formula, and I wish to insert a newline into it:
Guests!A1 & " " & Guests!B1 & [newline here] Guests!C1
How can I do this?
CHAR() is the appropriate function for an Excel formula, and you need character 10 (Line Feed) to create a line break. Example:
Guests!A1 & " " & Guests!B1 & CHAR(10) & Guests!C1
You'll need to have word-wrapping enabled on the cell, otherwise CHAR(10) will just look like a little square.
vbCRLF would be the right choice when using VBA (i.e., a macro). The question is about formulas, not VBA.
Press Command + Option + Enter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With