Excel中某些字段的求和值
我有一个 Excel 电子表格,其中包含许多工作表。每个工作表上的一列称为“类型”。此栏由自由文本组成(有点像类别)。
我想做的是在一个单独的工作表上,能够整理“类型”中的所有不同条目,并能够对它们的相应值求和。
这怎么可能?
I have an Excel spreadsheet with a number of worksheets within it. One of the columns on each worksheet is called 'type'. This column is made of free text (a bit like a category).
What I'd like to do is on a separate worksheet, be able to collate all the different entries in 'type', and to be able to sum the corresponding values of them.
How is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在单独的工作表上,您需要拥有每种不同“类型”的列表。
使用
SumIf
函数,您可以对符合条件的所有值求和。例如,如果 Sheet1 如下所示:那么在 Sheet2 上,
Sheet2 上的 B 列中的公式将如下所示:
On your separate worksheet you'll need to have the list of each of the different "types"
Using the
SumIf
function you can sum all the values that fit the criteria. For instance if Sheet1 looks like this:Then on Sheet2 you would have
The formula in Column B on Sheet2 would look like: