ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   A function to read a number and split it in separate cells (https://www.excelbanter.com/excel-discussion-misc-queries/208554-function-read-number-split-separate-cells.html)

Zen

A function to read a number and split it in separate cells
 
I have numbers like,

abs1: xxxx:qw124a: 124
abs:xyz:123456788:12

How can I use any function that reads the ":" and then split values between
":" into separate cells. The number of values between ":" might not be
constant, as you can see from the examples above.

I would appreciate any help.

Peo Sjoblom[_2_]

A function to read a number and split it in separate cells
 
Test this first on a sample, make sure these values are in a single column
and there are empty columns to the right

Datatext to columns, delimited, click next and select : as delimiter and
click finish.

Make a backup before you do this

--


Regards,


Peo Sjoblom

"zen" wrote in message
...
I have numbers like,

abs1: xxxx:qw124a: 124
abs:xyz:123456788:12

How can I use any function that reads the ":" and then split values
between
":" into separate cells. The number of values between ":" might not be
constant, as you can see from the examples above.

I would appreciate any help.




John C[_2_]

A function to read a number and split it in separate cells
 
Data|Text to Columns, choose : for your delimiter..... (check Other, and type
: in the box).
--
** John C **

"zen" wrote:

I have numbers like,

abs1: xxxx:qw124a: 124
abs:xyz:123456788:12

How can I use any function that reads the ":" and then split values between
":" into separate cells. The number of values between ":" might not be
constant, as you can see from the examples above.

I would appreciate any help.



All times are GMT +1. The time now is 04:43 AM.

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