我想将一列中的文本分隔在两个单独的列中。
列应在以下变量Performance
和Learning & Growth
之后分开Business
。
| AM | AN | AO |
|---------------------------------------------|-------------------|------------------------|
| Performance comment | Performance | comment |
| Learning & Growth some comment | Learning & Growth | some comment |
| Business This is third comment | Business | This is third comment |
| Performance This is fourth comment | Performance | This is fourth comment |
我尝试了Data Tools > Text to Columns。但这不能Learning & Growth
连续工作。
感谢您的时间和考虑
编辑: 我可以使用以下公式拆分评论的上部文本
=TRIM(LEFT(AM2, SEARCH(CHAR(10),AM2,1)-1)))
但我无法拆分下部文本
=RIGHT(AM2,LEN(AN2)-FIND(" ",AM2))
这给了我价值错误