Counting # of cells with that meet criteria in two columns
So, "complete" and the date are in the same cell?
Try this:
=SUMPRODUCT(--(A2:A5=10),--(ISNUMBER(SEARCH("complete",B2:B5))))
Or:
D2 = 10
E2 = complete
=SUMPRODUCT(--(A2:A5=D2),--(ISNUMBER(SEARCH(E2,B2:B5))))
--
Biff
Microsoft Excel MVP
"Scott at Medt." <Scott at wrote in message
...
Say I have two columns of data.
DISTRICT STATUS AND DATE
10 Complete 3-2-2007
10
20 Complete 9-10-2006
20 Complete 1-1-2001
I need a function or formula that counts the number of employees who have
completed training by district. For district 10 the answer would be one.
For
district 20 the answer would be two. My greatest challenge is how to count
the column that "includes" the word Complete.
Many thanks for help!
|