[英]Sum cells in one column, if values match criteria from two separate columns
Please I need some help as I'm having trouble getting this to work.请我需要一些帮助,因为我无法让它工作。 Please see the image below.
请看下图。 The result I want is the value in cell B21 for the entire table in the picture.
我想要的结果是图片中整个表格的单元格 B21 中的值。 Cell A21 contains one piece of the criteria for the formula.
单元格 A21 包含一个公式标准。 I need to sum the values in column H if the value in column F matches A21 and has the same value in column C or E. For example, the Proj# is the same for cells E2 and E3, and since F2 matches A21, the formula in theory will sum H2 and H3.
如果 F 列中的值与 A21 匹配并且在 C 或 E 列中具有相同的值,我需要对 H 列中的值求和。例如,单元格 E2 和 E3 的 Proj# 相同,并且由于 F2 与 A21 匹配,因此理论上的公式将对 H2 和 H3 求和。 The result would be 9. I'd prefer a faster processing formula than an array or query
结果将是 9。与数组或查询相比,我更喜欢更快的处理公式
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.