# COUNT Missed Deadline by Month

✭✭✭

SS Community,

Requesting help with a formula to count the quantity (#) of times a task (row) missed the completion deadline by the Month of the Actual Completion Date {ACD}.

So in this sample data pic example below: January would be 3, and February would be 2.

So far I have:

=COUNTIFS({ACD}, {ACD} > {DNB})

But this does not count by month.

Tried leveraging a helper column {MD}, but with the right formula, I do not think this is needed.

=COUNTIFS({Missed Deadline}, IFERROR({ACD}, 0) = 1)

Thank you.

-Robert

• ✭✭✭✭✭✭

Hey @Robert B

You'll need a helper column, a checkbox will do, to first do the evaluation within the row to indicate a missed deadline.

=IF(ISDATE([Actual Completion Date (ACD)]@row), IF([Actual Completion Date (ACD)]@row>[Date Needed By (DNB)]@row, 1))

=COUNTIFS({ACD}, ISDATE(@cell), {ACD}, MONTH(@cell)=1, {Helper Missed Deadline}, 1)

If you are pulling the data into a metrics table you could have a column that contain the month numbers. Then you could refer to that [Month Number]@row instead of hardcoding in the Month number twelve times.

The table might look like:

Month Name | Count | Month Number

January 3 1

February x 2

and the formula becomes

=COUNTIFS({ACD}, ISDATE(@cell), {ACD}, MONTH(@cell)=[Month Number]@row, {Helper Missed Deadline}, 1)

If you are not working across two sheets, let me know as the syntax of the COUNTIFS formula will change

Kelly

• ✭✭✭✭✭✭

Hey @Robert B

You'll need a helper column, a checkbox will do, to first do the evaluation within the row to indicate a missed deadline.

=IF(ISDATE([Actual Completion Date (ACD)]@row), IF([Actual Completion Date (ACD)]@row>[Date Needed By (DNB)]@row, 1))

=COUNTIFS({ACD}, ISDATE(@cell), {ACD}, MONTH(@cell)=1, {Helper Missed Deadline}, 1)

If you are pulling the data into a metrics table you could have a column that contain the month numbers. Then you could refer to that [Month Number]@row instead of hardcoding in the Month number twelve times.

The table might look like:

Month Name | Count | Month Number

January 3 1

February x 2

and the formula becomes

=COUNTIFS({ACD}, ISDATE(@cell), {ACD}, MONTH(@cell)=[Month Number]@row, {Helper Missed Deadline}, 1)

If you are not working across two sheets, let me know as the syntax of the COUNTIFS formula will change

Kelly

• ✭✭✭

Brilliant!, once again, thank you for your help @Kelly Moore !!

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!