本文介绍了在Excel中每n行排列一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
28 10 | 100
29 210
30
40 20 | 84
41 130
42
43 30 | 75
44 740
45
46 40 | 73
47 220
如何每3行总计A29 + A41 + A44 + A47 + ...
我尝试过各种建议,如和,但无法想像出来。
How can I sum every 3 rows A29+A41+A44+A47+...I tried various suggestions like this and this one but couldn't figured it out.
此外,有没有办法将其他行的第二部分提取到其他列?我的意思是100,84,75,73,...
In addition, is there any way to extract the second part, to a different column, of the other rows? I mean 100, 84, 75, 73, ...
推荐答案
在一个单元格中作为标准的非数组公式, / p>
In a cell as a standard non-array formula,
=SUM(INDEX(A29:A48*NOT(MOD(ROW($29:$48)-29, 3)), , ))
ROW($ 29:$ 48)-29
是 A29:A38中的位置,如果扩展了A29:A48,则必须扩展。
The ROW($29:$48)-29
is the position within A29:A38 and must be expanded if A29:A48 is expanded.
这篇关于在Excel中每n行排列一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!