简体   繁体   English

根据字符将字符串分成不同的列[重复]

[英]Breaking a string into different columns based on a character [duplicate]

This question already has an answer here: 这个问题已经在这里有了答案:

I'm trying to break my string in MS Excel into different columns based on unique identifier, ie "." 我试图根据唯一标识符(即“。”)将MS Excel中的字符串分成不同的列。

I need to break the below string, 我需要打破下面的字符串,

1.1.4.1.10.3

Formulae should give me below shown results in 6 different columns, 公式应在6个不同的列中显示以下结果,

1  1  4  1  10  3

Would really appreciate any kind of help!! 非常感谢任何帮助! Thanks in advance. 提前致谢。

Use the Text To Columns command that comes with Excel: 使用Excel随附的“文本到列”命令:

Select the cells with the data. 选择带有数据的单元格。 It should be only one column. 它只能是一列。 Click Data > Text to Columns Select "delimited" and click Next Tick the box next to "Other" and enter a dot, then click Finish 单击数据>文本到列选择“定界”,然后单击下一步选中“其他”旁边的框并输入一个点,然后单击完成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM