ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Insert manual line break in formula (https://www.excelbanter.com/excel-worksheet-functions/44397-insert-manual-line-break-formula.html)

0-0 Wai Wai ^-^

Insert manual line break in formula
 

Hi
I have a formula which combines texts from several sources.
Eg:
="I am a "&A30&". You are a "&A31&".
However we don't "&A32&", nor "&A33&".
Except that, we do "&A34&"."

However the whole statement will appear in 1 line.
I would like to break it into 3 lines in that cell.
How to do?


--
Additional information:
- I'm using Office XP
- I'm using Windows XP



Roger Govier

Hi
Format the cell FormatCellAlignmentWrap text
Insert Char(10) within your formula where you want a new line.
e.g.
="I am a "&A30& char(10)&" You are a "&A31& char(10)&" We are "&A34


0-0 Wai Wai ^-^ wrote:
Hi
I have a formula which combines texts from several sources.
Eg:
="I am a "&A30&". You are a "&A31&".
However we don't "&A32&", nor "&A33&".
Except that, we do "&A34&"."

However the whole statement will appear in 1 line.
I would like to break it into 3 lines in that cell.
How to do?




All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com