简体   繁体   English

如何在当前单元格的位置之前添加*在另一个工作表中*的列中的所有单元格?

[英]How to add all cells in a column *in another sheet* before location of current cell?

Ms Excel:叶小姐:

I have 2 sheets.我有2张。 Sheet1 ("RawData") and Sheet2 ("CumulData"). Sheet1(“RawData”)和 Sheet2(“CumulData”)。

In Sheet2 I want the value of the cell to be the SUM of all cells in the same column before (and including) current location in Sheet1.在 Sheet2 中,我希望单元格的值是 Sheet1 中当前位置之前(并包括)同一列中所有单元格的总和。 So table in Sheet2 is basically an incremental count of data in Table in Sheet1.所以 Sheet2 中的 table 基本上是 Sheet1 中 Table 中数据的增量计数。

Example:

RawData:
Level  Points
3       6 
1       1
6       9 
8       10

CumulData:
Level  Points
3       6 
4       7
10      16 
18      26

Thanks!谢谢!

in sheet Cumuldata:在工作表累积数据中:

B4=SUM(Rawdata!B$4:B4)

在此处输入图片说明

Its simple.这很简单。 Just create a pivot table on the ColumnData sheet with Sum:)只需使用 Sum 在 ColumnData 表上创建一个数据透视表:)

暂无
暂无

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

相关问题 如何用另一张纸上的列表中的数字替换一列中的所有单元格? - How to replace all cells in a column with a number from a list on another sheet? 将一列中所有单元格的值添加到另一列中的相应单元格,然后清除原始单元格 - Add value in all cells within a column to corresponding cell in another column and then clear original cells 如何使用XlsxWriter根据另一个工作表中的相应单元格值来格式化一个工作表中的所有单元格? - How to format all cells in one sheet based on corresponding cell values in another sheet using XlsxWriter? 如何将蓝色的单元格计数到另一张纸上的单元格中? - How to count cells with blue colour into cell on another sheet? 如果所有单元格的范围都等于“ true”,则它将从另一个工作表返回填充内容的单元格,进入第三张工作表 - If a range of cells all equal “true” then it will return a content-filled cell from another sheet, into a 3rd sheet 如何:在一张纸上检索列中的最后一个单元格,然后粘贴到另一张纸上 - How to: Retrieve last cell in a column on one sheet, and paste on another sheet 在转到另一张纸之前先停用当前纸 - deactivate the current sheet before going to another sheet 如果同一行中的另一个单元格的值大于0,则仅索引另一张工作表中一列的单元格 - Index only cells in a column from another sheet if another cell in same row has a value greater than 0 仅当下一列中的单元格不为空白时,才将单元格从列复制到另一张表 - Copy Cells from a Column to another sheet, only if a cell in the next column is not blank 返回另一张工作表中相应单元格的单元格 - Return cell of corresponding cells in another sheet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM