ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I split one cell of 6 numbers into two cells of 3 and 3? (https://www.excelbanter.com/excel-discussion-misc-queries/37074-how-do-i-split-one-cell-6-numbers-into-two-cells-3-3-a.html)

Jason

How do I split one cell of 6 numbers into two cells of 3 and 3?
 
I have a column of data that has six numbers in each cell, however I need to
split this into two columns, where the first column is the first three digits
and the second column is the last three. There is no separator (space, comma
or dash) between the numbers. Any suggestions?

RagDyeR

Use Text To Columns.

Select your column of data, then:
<Data <TextToColumns

Click "Fixed Width", then <Next,

Click in the data to display the "break line", and drag it to separate the
numbers as desired.
Then <Finish
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Jason" wrote in message
...
I have a column of data that has six numbers in each cell, however I need to
split this into two columns, where the first column is the first three
digits
and the second column is the last three. There is no separator (space,
comma
or dash) between the numbers. Any suggestions?



Roger Govier

Assuming the data to be in column A
in B1=LEFT(A1,3)
in C1=RIGHT(A1,3)

If you want the results as numeric, then put *1 at the end of each formula.
Copy down the range required

--
Regards
Roger Govier
"Jason" wrote in message
...
I have a column of data that has six numbers in each cell, however I need
to
split this into two columns, where the first column is the first three
digits
and the second column is the last three. There is no separator (space,
comma
or dash) between the numbers. Any suggestions?





All times are GMT +1. The time now is 04:40 PM.

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