I have a table where I need to obtain the sum of one column where the values in two other columns match specific criteria.

enter image description here

What I need would be the sum of the Value column where the customer name matches Customer A and the Order Status matches Complete. For this example the result would be £150.00

I am using Excel 2007.

有帮助吗?

解决方案

SUMIFS is available in 2007+

first parameter is what values to sum, the subsuiquent pairs are the range and their criteria.

For your example, it would be

=SUMIFS(D:D,A:A,"Customer A",C:C,"Completed")

You could also summarize the whole table using a pivot table.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top