COUNTIF and similar formulas

J

JR

I am trying to set a COUNTIF formula. I have already done this for column C
and it works but now i want to set a formula so that if column c contains
"sick" or "medical" it should then look to column D and tell me the number
with "sick" or medical" in column C that have the result "referred to
manager" in column D.

C
Medial
Sick
Leave

D
Referred to Manager
Returned to Manager
 
T

T. Valko

Try this...

Use cells to hold your criteria:

F1 = Sick
F2 = Medical
G1 = Referred to Manager

=SUMPRODUCT(--(ISNUMBER(MATCH(C1:C20,F1:F2,0))),--(D1:D20=G1))
 

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