简体   繁体   English

列与相邻列的总和

[英]Sum values of columns into adjacent column

How can I add values in columns (T,U,V) and put the result in each adjacent cell in column S? 如何在(T,U,V)列中添加值并将结果放入S列中的每个相邻单元格中?

Example: 例:

样品

In the top column S cell where you want the result, enter the formula =SUM(T1,U1,V1) replacing row number "1" with the row number on which you are entering the formula. 在需要结果的顶部S单元格中,输入公式=SUM(T1,U1,V1)将行号“ 1”替换为要在其上输入公式的行号。

Then, copy (ctrl-c) the cell containing the formula, and paste it into the cells in column S below. 然后,复制(ctrl-c)包含该公式的单元格,并将其粘贴到下面S列的单元格中。

When you copy & paste a formula, the spreadsheet will automatically adjust the row numbers according to where the formula is pasted. 当您复制并粘贴公式时,电子表格将根据粘贴公式的位置自动调整行号。

Note, it will also adjust the Column letters, but in your case this is not relevant, since your Column positions are constant. 注意,它也会调整“列”字母,但是在您的情况下,这无关紧要,因为“列”位置是恒定的。

See the SUM formula documentation here: https://support.google.com/docs/answer/3093669 请参阅以下SUM公式文档: https//support.google.com/docs/answer/3093669

If 14 is in Row1, in S1: 如果第1行中有14 ,则在S1中:

=arrayformula(mmult(T1:V*1,transpose(T2:V2^0)))

Courtesy @Max Makhrov from here . 礼貌@Max Makhrov这里

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 查找与第一列中的值匹配的相邻列的总和 - Find sum of adjacent columns that match value from first column 根据另一列中的相邻单元格是否包含公式,尝试仅对一列中的值求和 - Trying to only SUM values in one column based on if the adjacent cells in another column contain a formula 如果相邻列与Google Spreadsheets中的if语句匹配,则对列求和 - Sum columns if adjacent columns match if statements in Google Spreadsheets Google 表格查找 2 列和第 3 列的总和值 - Google Sheets lookup 2 columns and sum values of 3rd column Google表格-相邻列中显示的每n行的总和 - Google Sheets - Sum of every nth row displayed in the adjacent column 基于相邻列中两点的垂直截面之和 - The sum of a vertical section based on an two points in adjacent column 检查列,如果一个大于或等于 A 列中的相邻单元格,则对其设置不同的样式 - Check columns, if one is bigger or equal to the adjacent cell in column A, style it differently 从两个不相邻的列中选择唯一值 - Pick unique values from two non-adjacent columns Google表格公式可计算一列中的值之和,该值与另一张表中的多列匹配 - Google Sheets formula to calculate sum of values in one column which match multiple columns in another sheet 如果值与来自两个单独列的条件匹配,则对一列中的单元格求和 - Sum cells in one column, if values match criteria from two separate columns
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM