ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can i split some symbol into many cells ? (https://www.excelbanter.com/excel-programming/358981-how-can-i-split-some-symbol-into-many-cells.html)

kee149

How can i split some symbol into many cells ?
 

For example, cell A1, I have "12/3/2006" I wanna split "/" and then put
each value into A2, A3, and A4.

So, when I write the code A1, B1, C1, and so on. they will split the
value and put into each cell.

A1 = (12/3/2006) === A2 = 12, A3 = 2, A4 = 2006
....

How can I do this ?

Thks
Kee


--
kee149
------------------------------------------------------------------------
kee149's Profile: http://www.excelforum.com/member.php...o&userid=33531
View this thread: http://www.excelforum.com/showthread...hreadid=533233


Gary Keramidas

How can i split some symbol into many cells ?
 
easiest way

select column a
click data on the menu and then text to columns
click next
uncheck all boxes except other and then enter the / in the box
click next
in the destination box enter B1

--


Gary


"kee149" wrote in message
...

For example, cell A1, I have "12/3/2006" I wanna split "/" and then put
each value into A2, A3, and A4.

So, when I write the code A1, B1, C1, and so on. they will split the
value and put into each cell.

A1 = (12/3/2006) === A2 = 12, A3 = 2, A4 = 2006
...

How can I do this ?

Thks
Kee


--
kee149
------------------------------------------------------------------------
kee149's Profile:
http://www.excelforum.com/member.php...o&userid=33531
View this thread: http://www.excelforum.com/showthread...hreadid=533233




JMB

How can i split some symbol into many cells ?
 
One other way

A2 = Month(A1)
A3 = Day(A1)
A4 = Year(A1)

Copy across

"kee149" wrote:


For example, cell A1, I have "12/3/2006" I wanna split "/" and then put
each value into A2, A3, and A4.

So, when I write the code A1, B1, C1, and so on. they will split the
value and put into each cell.

A1 = (12/3/2006) === A2 = 12, A3 = 2, A4 = 2006
....

How can I do this ?

Thks
Kee


--
kee149
------------------------------------------------------------------------
kee149's Profile: http://www.excelforum.com/member.php...o&userid=33531
View this thread: http://www.excelforum.com/showthread...hreadid=533233




All times are GMT +1. The time now is 10:40 AM.

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