Formula help for days past due

lkndllsgrl

New Member
Joined
Feb 7, 2013
Messages
21
I am trying to use a countif formula to determine how many dates were on time, 7 days late, 14 days late and 30 days or more late. You can see in the table below the columns I am working with. [TABLE="width: 500"]
<tbody>[TR]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Date Recieved[/TD]
[TD]Date Due[/TD]
[TD]Date Submitted[/TD]
[/TR]
[TR]
[TD]10/27/17[/TD]
[TD]11/26/17[/TD]
[TD]12/27/17[/TD]
[/TR]
[TR]
[TD]10/18/17[/TD]
[TD]11/17/17[/TD]
[TD]11/13/17[/TD]
[/TR]
[TR]
[TD]10/17/17[/TD]
[TD]10/23/17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[TD]On Time[/TD]
[TD]7 Days Late[/TD]
[/TR]
[TR]
[TD]10/1/17[/TD]
[TD]10/31/17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11/1/17[/TD]
[TD]11/30/17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


The current formula I have is

=countifs(C:C,”>="&A1,C:C,"<="&B1,E:E,”<=”&D:D)

The first part of the formula brings back the correct count of number of instances within the date frame, howver I cannot get the second part to return count of on time instances. \

Please help
 
If you do this one

Rich (BB code):
=if(DueDateCell = "", "", if(DateReceivedCell = "", Today() , DateReceived)-DueDateCell)


For you first helper that will tell you how many days it is past due and received, or past due as of today (not received). Then from there it is the same as your original problem.
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
My current countifs formula...

=COUNTIFS('Complaint Log'!$J$2:$J$1003,">="&Sheet1!A4,'Complaint Log'!$J$2:$J$1003,"<="&Sheet1!B4,'Complaint Log'!$O$2:$O$1003,"<="&0)
 
Upvote 0
=if(and(Date1Cell <> "", Date2Cell <> ""), Date2Cell - Date1Cel, "")

How can I modify this formula to count days of blank cells (date submitted column) where the due date is past todays date?
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top