Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
split text in one cell into multiple cells without breaking the wo
I have got a data in a column which i want to split in multiple columns with
characters lenght fix and no word should i.e. in case the word in getting split in two columns due to character length then the complete word should go in the next column. Sample: AL.WAHAT FOR TRDG & MFG OF CHEMICALS & FERTILIZERS AL.WAHAT FOR TRDG & MFG OF CHEMICAL S & FERTILIZERS this is what output i am getting using Mid function. The 35 characters are fixed in column no. 2, 25 characters in column no. 3 and 35 characters in cloumn no.4 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
split text in one cell into multiple cells without breaking the wo
Try using "Text to Columns" on the Data menu.
Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Prashant" wrote in message I have got a data in a column which i want to split in multiple columns with characters lenght fix and no word should i.e. in case the word in getting split in two columns due to character length then the complete word should go in the next column. Sample: AL.WAHAT FOR TRDG & MFG OF CHEMICALS & FERTILIZERS AL.WAHAT FOR TRDG & MFG OF CHEMICAL S & FERTILIZERS this is what output i am getting using Mid function. The 35 characters are fixed in column no. 2, 25 characters in column no. 3 and 35 characters in cloumn no.4 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
split text into multiple cells without breaking the word
I tried using Text to column function but it is not giving me the desired
result. "Jim Cone" wrote: Try using "Text to Columns" on the Data menu. Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Prashant" wrote in message I have got a data in a column which i want to split in multiple columns with characters lenght fix and no word should i.e. in case the word in getting split in two columns due to character length then the complete word should go in the next column. Sample: AL.WAHAT FOR TRDG & MFG OF CHEMICALS & FERTILIZERS AL.WAHAT FOR TRDG & MFG OF CHEMICAL S & FERTILIZERS this is what output i am getting using Mid function. The 35 characters are fixed in column no. 2, 25 characters in column no. 3 and 35 characters in cloumn no.4 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
split text in one cell into multiple cells without breaking the wo
Hi Prashant, Try, In B1, =LEFT(A1,LOOKUP(9.999E+307,FIND(" ",A1,ROW($A1:$A35)))) In C1, =TRIM(LEFT(SUBSTITUTE(A1,B1,""),LOOKUP(9.999E+307, FIND(" ",TRIM(SUBSTITUTE(A1,B1,""))&" ",ROW($A1:A25))))) In D1, =TRIM(SUBSTITUTE(SUBSTITUTE(A1,B1,""),C1,"")) HTH -- Krishnakumar ------------------------------------------------------------------------ Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138 View this thread: http://www.excelforum.com/showthread...hreadid=518972 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copying content of cell automatically to multiple cells | Excel Worksheet Functions | |||
breaking text in one cell into two cells | Excel Discussion (Misc queries) | |||
How to make a cell recognize multiple text strings? | Excel Worksheet Functions | |||
Combining data (numeric format) in multiple cells into one cell (t | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |