简体   繁体   English

多个 SUMIFS

[英]Multiple SUMIFS

here is my formula I am currently working on: =SUMIFS(Leuf:G2,G1705: Leuf,D2,D1705: "January", Leuf!J2:J1705)这是我目前正在研究的公式: =SUMIFS(Leuf:G2,G1705: Leuf,D2,D1705: "January", Leuf!J2:J1705)

here is the sample data: [1]: https://i.stack.imgur.com/NWEXd.png这是示例数据:[1]: https://i.stack.imgur.com/NWEXd.png

I am trying to calculate the total gallons based on the month in column F and also the column D as there are two different options "Clear Led" and "Dyed."我正在尝试根据 F 列和 D 列中的月份计算总加仑数,因为有两个不同的选项“Clear Led”和“Dyed”。 I need to separate the cost but my current formula will not work.我需要分开成本,但我目前的公式不起作用。

Try This -尝试这个 -

=Sumifs("Sum Range", Criteria Range 1, Criteria, Criteria Range 2, Criteria) =Sumifs("Sum Range", Criteria Range 1, Criteria, Criteria Range 2, Criteria)

In your case formula should be在你的情况下,公式应该是

=sumifs(j:j,G:G,"January",D:D,"Clear LED") =sumifs(j:j,G:G,"一月",D:D,"清除 LED")

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM