how to count entries in one column based on critieria in another c

  • Thread starter Thread starter jw
  • Start date Start date
J

jw

The data looks like:
State Hours
------ --------
Closed 0.00
Resolved 0.1
cancelled 0.00
Resolved 0.00
etc etc

I want to count the number of entries where state = resolved and hours >
0.00.
 
=SUMPRODUCT((A1:A10="Resolved")*(B1:B10>0))

or

=SUM(IF(A1:A10="Resolved")*(B1:B10>0),1)
(CTRL+SHIFT+ENTER this formula as it is an array-formula)

adjust ranges to suit

pls click YES if this helped
 
=SUMPRODUCT((A1:A10="Resolved")*(B1:B10>0))

or

=SUM(IF(A1:A10="Resolved")*(B1:B10>0),1)
(CTRL+SHIFT+ENTER this formula as it is an array-formula)

adjust ranges to suit

pls click YES if this helped
 

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

Back
Top