标签: google-sheets google-docs
如何对Google电子表格中的每第6行求和?
=SUMIF(A1:A100; MOD(CURRENT_ROW_NUMBER, 6) = 0;A1:A100)
但我不知道如何获得当前测试的行号...
答案 0 :(得分:1)
一个选项是:
=ARRAYFORMULA(SUM(IF(MOD(ROW(A1:A100); 6) = 0; A1:A100; 0)))