Countif Problem

L

Lise

Hi Everyone - I am trying to count the number of times Scheduled appears in
various cells so have used formul
=COUNTIF(H2:H11,"Scheduled"+COUNTIF(H76:H83,"Scheduled"+COUNTIF(H49:H50,"Scheduled")))

But this not working and brings back 0 when it should be 4 - should I be
using a different formula?

Many Thanks

Lise
 
T

T. Valko

You just need to separate each as an individual function like this:

=COUNTIF(H2:H11,"Scheduled")+COUNTIF(H76:H83,"Scheduled")+COUNTIF(H49:H50,"Scheduled")

Better to use a cell to hold the criteria:

A1 = Scheduled

=COUNTIF(H2:H11,A1)+COUNTIF(H76:H83,A1)+COUNTIF(H49:H50,A1)
 
F

FSt1

hi
try using the address of the first instance of the word sheduled instead of
the word itself and use this format for the formula
=COUNTIF(H2:H11,H4)+COUNTIF(H76:H83,H4)+COUNTIF(H49:H50,H4)


regards
FSt1
 

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