Counting Nonblank cells based on criteria in another cell

  • Thread starter rousseaucharlene
  • Start date
R

rousseaucharlene

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top