Excel快速将单列数据转换到多行多列中
时间:2023-06-07 19:18:12
在Excel中如果要把一列数据转换成多行多列,当数据较多时用复制、粘贴的方法较为繁琐。下面是一种快速将一列数据转换为多行多列的方法,特别适合于数据量较大的情况。假设数据在A1:A97中,现在要将该列数据转换成20行5列,步骤如下:
1.由于该列位于A列,且是从A1单元格开始的,所以首先在A1单元格右侧的B1单元格中输入:
a1
在B2单元格中输入:
a2
然后选择这两个单元格,拖动填充柄到B20单元格,这时Excel将自动填充序列为:a1、a2、a3、……、a20。
2.接着在C1单元格中输入:
a21
在C2单元格中输入:
a22
然后选择这两个单元格,拖动填充柄到C20单元格,这时Excel将自动填充序列为:a21、a22、a23、……、a40。
3.选择B1:C20区域,拖动填充柄向右填充。由于本例中A列只有97个数据,所以向右填充3列即可,这样连同B、C列共有5列。
4.按快捷键Ctrl+H,打开“查找替换”对话框,在“查找内容”右侧输入“a”,在“替换为”右侧输入“=a”,将单元格中的文本替换成公式。然后单击“全部替换”按钮。
Excel将完成单列到多行多列的转换。
由于该区域为公式返回的结果,需将该区域中的数据选择性粘贴为数值,然后才可删除A列。
标签:Excel,快速,将,单列,数据,转换,到,多行,多,列中
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
XP系统怎么卸载IE8 关闭iexplore
2023-09-25 11:49:04
![](https://img.aspxhome.com/file/2023/29/a255957_0s.jpg)
EmEditor如何使用?EmEditor使用方法
2023-08-17 19:38:28
![](https://img.aspxhome.com/file/2023/8/a337215_0s.jpg)
Win10怎么禁止关机自动更新?Win10禁止关机时自动更新的方法
2023-08-22 03:49:21
![](https://img.aspxhome.com/file/2023/28/a242649_0s.jpg)
Win11怎么添加无线显示器?Win11添加无线显示器的方法
2023-03-24 18:50:18
![](https://img.aspxhome.com/file/2023/1/a279936_0s.png)
如何将matlab中的数据导入excel的方法
2023-03-10 18:07:59
网曝支付宝新漏洞:熟人可能登录篡改你支付宝密码
2023-11-15 05:31:23
![](https://img.aspxhome.com/file/2023/3/a295808_0s.jpg)
如何使用Movavi PDF Editor在Mac上合并PDF文件
2023-12-18 21:40:07
![](https://img.aspxhome.com/file/2023/9/a213269_0s.jpeg)
XP系统如何设置虚拟内存 教你如何设置XP系统虚拟内存
2023-11-22 00:02:58
![](https://img.aspxhome.com/file/2023/2/a291197_0s.png)
wpsppt怎样转换成视频
2023-08-29 19:01:11
Win7启动IE浏览器就会自动打开两个主页的解决方案
2023-01-07 11:25:17
![](https://img.aspxhome.com/file/2023/27/a232431_0s.jpg)
windows10系统出现DNS异常上不了网的解决方法
2022-12-11 12:44:48
![](https://img.aspxhome.com/file/2023/2/a288042_0s.png)
最实用Win7技巧快捷操作介绍
2022-06-18 05:29:45
![](https://img.aspxhome.com/file/2023/29/a258852_0s.jpg)
一学就会的IF函数
2022-11-25 16:00:11
![](https://img.aspxhome.com/file/2023/8/a157358_0s.png)
Win10 21H1 6月累积更新KB5003637升级失败怎么办?
2023-06-08 00:52:03
![](https://img.aspxhome.com/file/2023/26/a221557_0s.png)
wps目录制作教程
2023-11-13 17:33:55
如何利用WPS快速插入复杂公式表格
2022-12-22 20:03:02
![](https://img.aspxhome.com/file/2023/7/a186777_0s.jpg)
Win10系统找不到boot.wim安装文件的解决方法
2023-10-19 06:24:41
![](https://img.aspxhome.com/file/2023/2/a284468_0s.jpg)
电脑版wps文档的页眉图片如何更改形状
2022-05-10 06:38:05
![](https://img.aspxhome.com/file/2023/4/a183164_0s.png)
为什么Excel不能加载宏 Excel不能加载宏的解决方法步骤
2022-02-18 00:20:41
![](https://img.aspxhome.com/file/2023/3/42973_0s.jpg)
PS如何拉伸不变形?PS拉伸不变形的方法
2022-07-30 06:53:35
![](https://img.aspxhome.com/file/2023/8/a334009_0s.jpg)