Excel 分列功能

一. 需求

⏹有一段文本,文本一共有7列。这7列文本之间的分隔符不相同

  • 一个空格的
  • 多个空格的
  • Tab
  • jmw_state 和 method 之间用 & 连接

现在要求,将这段文本粘贴到Excel中,进行分列。并且需要将 jmw_state 和 method 也进行分列

也就是说最终需要分出8列。

复制代码
2323   SEQIN mmm   isuuePayId=5768awe uuid=woenoo; jmw_state=success&method=paypay	info=ppp
2345 SEQIN mmm   isuuePayId=34895ry uuid=;ljkler    jmw_state=faile&method=alipay	info=ddd
1323   SEQIN mmm   isuuePayId=5rt8awe uuid=woenoo;  jmw_state=success&method=paypay	info=ppp
5345 SEQIN mmm   isuuePayId=3490u9 uuid=;ljkler jmw_state=faile&method=alipay	info=ddd

二. 使用Excel的分列功能

⏹将文本文件粘贴到Excel中,可以看到除了info列之外,每行数据都集中到一列中。

因为info列和其他列是通过Tab来进行分隔的,而Excel默认就是通过Tab进行分列的,

所以info列在粘贴时,算是自动完成了分列。

⏹在数据选项卡中选择分列功能,然后使用分隔符号进行分列。

⏹ 指定列中存在的分隔符号,并且勾选连续分隔符号视为单个处理之后,点击下一步。

⏹指定完数据格式之后,完成数据分列。

三. 其他

⏹将分列后的Excel中的内容复制到文本文件中可以看到,列和列之间是用Tab分隔的

对数据进行分列,也可以在文本编辑器中将列处理为Tab之后,直接复制到Excel中。

相关推荐
wtsolutions19 小时前
Using the JSON to Excel API - Programmatic Access for Developers
json·excel
qq_4351395719 小时前
EasyExcel(FastExcel)Excel导出功能 技术文档
excel
wtsolutions1 天前
Understanding JSON Formats - What JSON to Excel Supports
json·excel
wtsolutions1 天前
Advanced Features - Unlocking the Power of JSON to Excel Pro
linux·json·excel
fs哆哆1 天前
VB.NET和VBA教程-如何查找Excel数据区域边界
excel
小矮强1 天前
Excel中根据年月日提取月日,并按月日进行排序
excel
开开心心_Every1 天前
图片批量压缩工具:支持有损无损两种模式
python·游戏·微信·django·pdf·excel·语音识别
wtsolutions1 天前
Real-World Use Cases - How Organizations Use JSON to Excel
json·excel
wtsolutions1 天前
Introduction to JSON to Excel - The Ultimate Conversion Tool
json·excel
骆驼爱记录1 天前
Python打包命令全攻略
自动化·word·excel·新人首发