Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Parse Before Line Break
I could use some help making a formula to return all characters before a
carriage return [or an alt-enter or Char (10), depending on how you referr to it]. The Cell has a lot of text in it and can have more than 1 carriage return in it... Any ideas? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Parse Before Line Break
Josh O. wrote:
I could use some help making a formula to return all characters before a carriage return [or an alt-enter or Char (10), depending on how you referr to it]. The Cell has a lot of text in it and can have more than 1 carriage return in it... Any ideas? =LEFT(A1,FIND(CHAR(10),A1)-1) |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Parse Before Line Break
If the text in A1 (or another cell if this formula is copied down) does not
have a Line Feed, your formula will error out. This is probably the simplest fix to your formula for that possibility... =LEFT(A1,FIND(CHAR(10),A1&CHAR(10))-1) -- Rick (MVP - Excel) "Glenn" wrote in message ... Josh O. wrote: I could use some help making a formula to return all characters before a carriage return [or an alt-enter or Char (10), depending on how you referr to it]. The Cell has a lot of text in it and can have more than 1 carriage return in it... Any ideas? =LEFT(A1,FIND(CHAR(10),A1)-1) |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Parse Before Line Break
Hi,
You can also use Data Text to columns. Select delimited and then click Next. On the next screen, uncheck tab and check the "Other" box. In the box next to Other, do the following Alt+010 (on the numeric keypad) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Josh O." wrote in message ... I could use some help making a formula to return all characters before a carriage return [or an alt-enter or Char (10), depending on how you referr to it]. The Cell has a lot of text in it and can have more than 1 carriage return in it... Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Line break | Excel Discussion (Misc queries) | |||
Break cell into multiple lines by line break | Excel Discussion (Misc queries) | |||
Parse data where break is a first uppercase character in a string? | Excel Worksheet Functions | |||
Line Break | Excel Discussion (Misc queries) | |||
Trend Line - break | Excel Worksheet Functions |