Excel - Using SUMIF function with two criteria

Ask a question


Issue


I want to use the "SUMIF" of Excel for when two criteria are met:

I want to sum column C if column D = "FR" and the column E = "GSA"

Solution


Use this array formula
=SUM((D1:D65535="FR")*(E1:E65535="GSA")*(C1:C65535))

To be validated with CTRL + SHIFT + ENTER.

Thanks to gbinforme for this tip.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team