Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I insert a line feed in a formula?
I'm trying to insert a line feed (or carriage return) into a text formula I
have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
#2
|
|||
|
|||
try
alt+enter where you want it to break -- Don Guillett SalesAid Software "TX_KniveS" wrote in message ... I'm trying to insert a line feed (or carriage return) into a text formula I have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
#3
|
|||
|
|||
First you need to turn on word wrap under formatcellsalignment, then use
CHAR(10), i.e. ="text"&CHAR(10)&"text2" Regards, Peo Sjoblom "TX_KniveS" wrote: I'm trying to insert a line feed (or carriage return) into a text formula I have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
#4
|
|||
|
|||
Thanks Peo, thats exactly what I needed.
"Peo Sjoblom" wrote: First you need to turn on word wrap under formatcellsalignment, then use CHAR(10), i.e. ="text"&CHAR(10)&"text2" Regards, Peo Sjoblom "TX_KniveS" wrote: I'm trying to insert a line feed (or carriage return) into a text formula I have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
#5
|
|||
|
|||
Hi Don,
Unfortunately that does not apply to within a formula. One nice feature of Alt+Enter is that is generates the necessary wrap lines under Format, Cells, Alignment. So the poster has to format the column accordingly, when concatenating CHAR(10), which we assume he knew because he thanked Peo for the solution. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Don Guillett" wrote in message ... try alt+enter where you want it to break "TX_KniveS" wrote ... I'm trying to insert a line feed (or carriage return) into a text formula I I have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I insert a line feed in a formula?
If you wish to copy and paste the concatenated result into an email body and
not loose the line returns try this. =CONCATENATE($A1,CHAR(13),$B1) Good luck. "TX_KniveS" wrote: I'm trying to insert a line feed (or carriage return) into a text formula I have in a cell. I'm trying to concatenate text entered into two other cells in this new cell and have the two entries on a different line within the same cell. Anybody know how to do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I advance to next line when typing in the formula bar? | New Users to Excel | |||
Interest formula on Personal Line | Excel Discussion (Misc queries) | |||
Challenging Charting | Charts and Charting in Excel | |||
insert a new row by formula | Excel Worksheet Functions | |||
How do I insert a line break when using the CONCATENATE function? | Excel Worksheet Functions |