Thread
:
Counting Nonblank cells based on criteria in another cell
View Single Post
#
3
Posted to microsoft.public.excel.misc
JE McGimpsey
external usenet poster
Posts: 4,624
Counting Nonblank cells based on criteria in another cell
One way:
=SUMPRODUCT(--(A2:A100=1),--(B1:B100="Contacted client"))
Alternatively (and better, if you want a breakout of all combinations)
use a Pivot Table:
http://peltiertech.com/Excel/Pivots/pivotstart.htm
In article om,
wrote:
I am trying to count the number of cells that have text in them when
the criteria is met in another cell.
Severity Reason Code
1 Contacted client
2 Resolved updated late
2 Contacted Client
3
I need the formula to calculate the total number of reason codes by
severity. I have tried so many ways to write the formula and the
majority of the time the result is a count of the blank cells or just
the number 1 even when there is no reason code entered.
=IF(A2:A10000="1",COUNTA(B2:B10000,0))
Any help would be greatly appreciated
Reply With Quote
JE McGimpsey
View Public Profile
Find all posts by JE McGimpsey