[Excel] Countif Formula
Issue
I have one excel file in that Column "B" has the "pending or Closed" Status and Column "C" has "Severity 1, Severity 2 and Severity 3"
I want to count in one cell with "Pending and Severity 2 tickets", please let me know which formula can help me.
I am able to count below two formulas individually but I want to know how many Pending Severity 1 count.
=COUNTIF(B:B,"Pending")
=COUNTIF(C:C,"Sevirity 1")
Solution
Suppose your data is like this:
A B C
1 4
2 5
3 6
4 7
5 8
pending severity 1
7 1
8 2
pending severity 2
9 4
In any empty cell use this formula, modify the formula to suit you. The spellings must be exact. So copy paste:
=SUMPRODUCT((B1:B10="pending")*(C1:C10="severity 1"))
Note
Thanks to
venkat1926 for this tip on the forum.