ChangeWorld
ChangeWorld

Reputation: 431

COUNTIF with 2 conditions

I have the following table in Excel

enter image description here

The function that you see is translated in COUNTIF. As you can see the FORMULA is repeated for all the rows

What I would like to ask:

Upvotes: 0

Views: 100

Answers (1)

JulianG
JulianG

Reputation: 442

You want to show the full 150 if the cell value in column D is GES? Please check the code below. Tested, screenshot attached.

=IF(C2=$G$3;SUMIF($E$2:$E$6;$G$2;$D$2:$D$6);0)

/edit, missed some $-signs.

enter image description here

Upvotes: 1

Related Questions