{=SUM(IF(MOD(ROW(A1:A30),3)=0,(A1:A30)))} 行
 
{=SUM((A1:Z1)*(MOD(COLUMN(A1:Z1),3)=0))} 列