Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何对谷歌电子表格中的每 6 行求和?
=SUMIF(A1:A100; MOD(CURRENT_ROW_NUMBER, 6) = 0;A1:A100)
但我不知道如何获得当前测试的行号......
一种选择是:
=ARRAYFORMULA(SUM(IF(MOD(ROW(A1:A100); 6) = 0; A1:A100; 0)))