我有四张不同工作表上的信息,我想将其复制到这张摘要表中。
我想知道如何将公式复制到此摘要表(假设这是 Sheet2)的行和列上,以便在此处显示该信息。
现在我有
D4设置为
=INDIRECT("'Sheet" & COLUMN()-2&"'.D4")
这样我就可以跨行复制,但是我该如何更改它以允许将公式复制到列下方,以使其自动将“A#”增加 2?
4 5 6 7
+-------------------------------------------------------------------------------+
D | =SUM('Sheet4',a1) | =SUM('Sheet5',a1) | =SUM('Sheet6',a1) | =SUM('Sheet7',a1) |
+-------------------------------------------------------------------------------+
我如何将相同的公式复制到下一列以便得到(我跳过了第 4 - 7 张表上的其他所有数据行)
4 5 6 7
+-------------------------------------------------------------------------------+
D | =SUM('Sheet4',a2) | =SUM('Sheet5',a2) | =SUM('Sheet6',a2) | =SUM('Sheet7',a2) |
+-------------------------------------------------------------------------------+
E | =SUM('Sheet4',a4) | =SUM('Sheet5',a4) | =SUM('Sheet6',a4) | =SUM('Sheet7',a4) |
+-------------------------------------------------------------------------------+
F | =SUM('Sheet4',a6) | =SUM('Sheet5',a6) | =SUM('Sheet6',a6) | =SUM('Sheet7',a6) |
+-------------------------------------------------------------------------------+
G | =SUM('Sheet7',a8) | =SUM('Sheet5',a8) | =SUM('Sheet6',a8) | =SUM('Sheet7',a8) |
+-------------------------------------------------------------------------------+