ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif and Date Comparison (https://www.excelbanter.com/excel-worksheet-functions/192534-countif-date-comparison.html)

chas

Countif and Date Comparison
 
€ś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



Bob Phillips[_3_]

Countif and Date Comparison
 
=SUMPRODUCT(--(C2:C200-A2:A20020))

and

=E1/COUNT(A2:A20)

assuming the first formula is in E1

--
__________________________________
HTH

Bob

"Chas" wrote in message
...
"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





Stefi

Countif and Date Comparison
 
Try this formula:
=SUMPRODUCT(--(C2:C4B2:B4))/(COUNTA(A:A)-1)
Format the result cell as percent!
Regards,
Stefi


€žChas€ť ezt Ă*rta:

€ś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




All times are GMT +1. The time now is 02:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com