Google sheets 如何统计当前行及以上行中的值的数量
我正在google sheets中创建一个支出表,我想让列之后的金额等于同一行上的金额值之和。我不想求整列的和,因为这样就可以得到整列。如果不手动硬编码每一行的等式,我怎么能做到这一点Google sheets 如何统计当前行及以上行中的值的数量,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,我正在google sheets中创建一个支出表,我想让列之后的金额等于同一行上的金额值之和。我不想求整列的和,因为这样就可以得到整列。如果不手动硬编码每一行的等式,我怎么能做到这一点 Amount Amount After $500.00 $500.00 $140.00 $640.00 (Value of row 2 (without headers) and above, so row 1 and 2) $50.00 $690.00 (Value of row 3 (with
Amount Amount After
$500.00 $500.00
$140.00 $640.00 (Value of row 2 (without headers) and above, so row 1 and 2)
$50.00 $690.00 (Value of row 3 (without headers) and above, so row 1, 2, and 3)
$135.00
我对谷歌表单公式还很陌生,任何指针都会很有帮助 在
B3
单元格中,您可以执行以下操作:
- 选项A:
,然后您可以将其拖到下面,直到您想要的位置=B2+A3
- 选项B:
则可以拖动到末尾,如果B旁边的单元格有任何数字,它将自动求和:=如果(len(A3:A),B2+A3,)
CTRL+D
看看这个答案