我有一个Excel文件,其中包含三列(A-C列)下的500多行数据。基于列A的值,我想将列A-C中的一些行移动到新的三列中。有没有什么公式可以做到这一点?
之前
| 一个|B| C类|
| - -----|- -----|- -----|
| 1|五十一|八十一|
| 1|六十一|九十一|
| 2|五十二|八十二|
| 2|七十二|九十二|
| 3|五十三|八十三|
| 3|七十三|九十三|
之后
| 一个|B| C类|一个|B| C类|一个|B| C类|
| - -----|- -----|- -----|- -----|- -----|- -----|- -----|- -----|- -----|
| 1|五十一|八十一|2|五十二|八十二|3|五十三|八十三|
| 1|六十一|九十一|2|七十二|九十二|3|七十三|九十三|
谢谢你。
3条答案
按热度按时间gfttwv5a1#
下面的行吗?
E1
中的公式:eqoofvh92#
隔行HStack
公式
IF(rd=0,"",rd)
替换rd
。如果值不是数字,这一点尤其有用。变量
nx7onnlm3#
另一种替代方法(不使用LAMBDA()helper)
·单元格
E2
中使用的公式