Countif and Date Comparison

C

Chas

“Issues Log†records date an issue is raised and a target date to complete
action (this being the date raised + 20 days). There is one issue per row.
I need to count the number of instances where the target date has been
missed, ie where the date completed is more than 20 days after the date
raised. Then I would like to express this as a percentage of the total
issues raised. Can anyone suggest a suitable formula please?

Date Issue Raised Target Date Action Complete
a a+20 a+10
b b+20 b+21
c c+20 c+30

Count if action completed in more than 20 days
 
B

Bob Phillips

=SUMPRODUCT(--(C2:C200-A2:A200>20))

and

=E1/COUNT(A2:A20)

assuming the first formula is in E1
 
S

Stefi

Try this formula:
=SUMPRODUCT(--(C2:C4>B2:B4))/(COUNTA(A:A)-1)
Format the result cell as percent!
Regards,
Stefi


„Chas†ezt írta:
 

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