Excel Offset实现多行多列转单列
时间:2023-06-18 05:56:21
绝对是干货。也绝对是大家常常需要的。今天来分享下offset是如何实现多行多列转单列的。
我想得到单列怎么办:经过我的研究最终得到公式是
=OFFSET($A$1,(ROW(A1)-1)/4,MOD(ROW(A1)-1,4))
找个E1输入上面的公式,然后一个个下拉就行了。
稍微解析下公式,offset最简单的语法结构为(基点,偏移行,偏移列).
(ROW(A1)-1)/4,是为了偏移行时实现每4次偏移1行。对应如果源数据是5列,就改为5.
MOD(ROW(A1)-1,4),是为了偏移列时实现偏移都是1,2,3,4进行循环。对于如果源数据是5列,这里也改成5.
这样解释可能不能把原理解释非常明白,但我这种解释对于工作实际应用已经够了,我已经告诉你们如何修改公式进行嵌套了。
标签:偏移,公式,单列,解释,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Bandicam设置定时录制视频方法教程
2023-11-25 13:59:54
![](https://img.aspxhome.com/file/2023/30/a265592_0s.png)
快速高效的Mac屏幕截图工具:Screen Snapshot
2022-09-04 14:26:40
![](https://img.aspxhome.com/file/2023/4/a204614_0s.jpeg)
微信怎么设置拒收消息?微信设置拒收消息的方法
2022-02-05 18:56:00
![](https://img.aspxhome.com/file/2023/8/a335321_0s.jpg)
“灵动岛”可以关闭吗?如何隐藏“灵动岛”?
2023-06-07 12:18:24
![](https://img.aspxhome.com/file/2023/8/45018_0s.png)
QQ群匿名聊天怎么设置?QQ群设置匿名聊天的操作方法
2023-08-06 05:02:12
![](https://img.aspxhome.com/file/2023/6/a325799_0s.jpg)
苹果Mac隐藏壁纸在哪里?Mac隐藏壁纸查找教程
2023-05-11 04:48:26
![](https://img.aspxhome.com/file/2023/4/a215454_0s.png)
win8屏幕键盘开启的详解步骤
2023-03-23 10:17:23
![](https://img.aspxhome.com/file/2023/29/a255190_0s.jpg)
轻松解决“请不要在虚拟机中运行此程序”的问题
2022-05-12 18:07:01
![](https://img.aspxhome.com/file/2023/30/a265680_0s.jpg)
Windows10玩CSGO游戏fps值很低怎么办?
2023-05-05 18:17:09
![](https://img.aspxhome.com/file/2023/26/a225100_0s.jpg)
PS新手教程-如何使用PS制作复古漫画肖像效果人像
2022-10-10 14:51:51
![](https://img.aspxhome.com/file/2023/10/a344103_0s.jpeg)
Excel如何跨表格引用
2023-04-21 20:53:17
![](https://img.aspxhome.com/file/2023/0/a140130_0s.jpg)
excel表格如何进行角度、弧度、度分秒之间的转换?
2022-12-09 11:21:57
![](https://img.aspxhome.com/file/2023/5/a142435_0s.png)
win7计算机的内存不足请保存文件关闭程序的解决方法
2022-12-10 10:51:05
![](https://img.aspxhome.com/file/2023/30/a269540_0s.jpg)
PowerPoint多个对象同时动作
2022-11-25 02:10:54
![](https://img.aspxhome.com/file/2023/10/a344897_0s.jpg)
网站打不开怎么办 快速清理DNS缓存的方法
2022-05-30 19:20:50
![](https://img.aspxhome.com/file/2023/2/a291919_0s.jpg)
win10 Edge浏览器收藏夹该如何备份?
2023-09-19 12:33:06
![](https://img.aspxhome.com/file/2023/28/a247676_0s.jpg)
虎扑如何发帖?虎扑发帖的操作步骤
2023-02-14 18:08:28
![](https://img.aspxhome.com/file/2023/8/a333335_0s.jpg)
小米怎么开启悬浮窗?小米开启悬浮窗权限的方法
2023-01-28 01:59:00
![](https://img.aspxhome.com/file/2023/8/a339425_0s.jpg)
Win10更改桌面软件路径的操作方法
2023-06-15 20:09:52
![](https://img.aspxhome.com/file/2023/1/a280888_0s.png)
如何利用PPT快速抠图实现教程
2023-11-06 17:45:13