总结具有相同名称和值的行 [英] Sum Up rows with the same name and value

查看:125
本文介绍了总结具有相同名称和值的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想总结所有具有相同名称字符串和相同日期的值,以便我得到这样一个表: / p>



我不得不说,我不知道如何实现这样的事情。我尝试像 if ... else 结构,但是我缺少的是其他行的检查部分。任何建议如何实现这样的问题?



感谢您的回答!

解决方案

尝试 SUMIFS E2 并将其拖动:

  = SUMIFS($ C $ 2:$ C $ 10,$ A $ 2:$ A $ 10,A2,$ B $ 2:$ B $ 10,B2)


I have a table which looks like that:

I want to sum up all the values which have the same name string and the same date, so that I get such a table:

I have to say that I do not know how such a thing could be implemented. I tried something like an if...else structure, but what I am missing is the checking part of the other rows. Any suggestion how to implement such a problem?

I appreciate your answer!

解决方案

Try SUMIFS in E2 and drag it down:

=SUMIFS($C$2:$C$10,$A$2:$A$10,A2,$B$2:$B$10,B2)

这篇关于总结具有相同名称和值的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆