ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how can I Break a raw into two ?? (https://www.excelbanter.com/excel-programming/310096-how-can-i-break-raw-into-two.html)

kkraj

how can I Break a raw into two ??
 
Hi friends
can someone tell me tht how can I convert an Exce
Raw into two by using Macro ? or any otherway to do tht ? like

CC 123 khi 222 fff 2222 1111 DD 1111 lhr hhh 4444

into

CC 123 khi 222 fff 2222 1111
DD 1111 lhr hhh 4444


Thanks & Regards :

--
Message posted from http://www.ExcelForum.com


JE McGimpsey

how can I Break a raw into two ??
 
If it's the same number of characters every time, try Data/Text to
Columns.

You can also do it via formula:

B1: =TRIM(LEFT(A1,FIND("DD",A1)-1))
C1: =TRIM(MID(A1,FIND("DD",A1),255))




In article ,
kkraj wrote:

Hi friends
can someone tell me tht how can I convert an Excel
Raw into two by using Macro ? or any otherway to do tht ? like

CC 123 khi 222 fff 2222 1111 DD 1111 lhr hhh 4444

into

CC 123 khi 222 fff 2222 1111
DD 1111 lhr hhh 4444


Thanks & Regards :)


---
Message posted from http://www.ExcelForum.com/



All times are GMT +1. The time now is 10:05 PM.

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