Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like this:
="I am a "&A30&". You are a "&A31&". "&CHAR(10)&"However we don't "&A32&", nor "&A33&". "&CHAR(10)&"Except that, we do "&A34&"." Note: You'll need to set your cells to wrap text and set column widths. FormatCellsAlignement Tab Check: Wrap Text Does that help? *********** Regards, Ron "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? -- Additional information: - I'm using Office XP - I'm using Windows XP |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "Ron Coderre" ¦b¶l¥ó ¤¤¼¶¼g... Try something like this: ="I am a "&A30&". You are a "&A31&". "&CHAR(10)&"However we don't "&A32&", nor "&A33&". "&CHAR(10)&"Except that, we do "&A34&"." Note: You'll need to set your cells to wrap text and set column widths. FormatCellsAlignement Tab Check: Wrap Text Does that help? It helps a lot although this solution is not perfect. :D By the way, would you mind telling me what's the point of adding "CHAR(10)"? I would like to understand why. Thanks. :-) .. .. .. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Char(10) refers to the ASCII code 10, which represents a line break or "line
feed". Consequently, putting the &Char(10)& in a string is the equivalent of [Alt]+[Enter] in the string. For a list of other ASCII codes...try this link: http://www.neurophys.wisc.edu/www/comp/docs/ascii.html Does that help? *********** Regards, Ron "0-0 Wai Wai ^-^" wrote: "Ron Coderre" ¦b¶l¥ó ¤¤¼¶¼g... Try something like this: ="I am a "&A30&". You are a "&A31&". "&CHAR(10)&"However we don't "&A32&", nor "&A33&". "&CHAR(10)&"Except that, we do "&A34&"." Note: You'll need to set your cells to wrap text and set column widths. FormatCellsAlignement Tab Check: Wrap Text Does that help? It helps a lot although this solution is not perfect. :D By the way, would you mind telling me what's the point of adding "CHAR(10)"? I would like to understand why. Thanks. :-) .. .. .. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Continue formula to LINE 1000 without showing FALSE | Excel Worksheet Functions | |||
Overtime computation and lunch break formula with IF and AND | Excel Worksheet Functions | |||
Manual line break in cell | Excel Discussion (Misc queries) | |||
Insert New Row without shifting formula | Excel Worksheet Functions | |||
Insert Formula and Copy to other cells | Excel Discussion (Misc queries) |