Countifs matrix with date and time elements

b19upj

New Member
Joined
Oct 3, 2014
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking to work out if a list of items have been Completed, Due or Overdue.
For completed, it should be in last: 24h, 48h, 72h, 5 days, 10 days.
For Due, it should be in next: 24h, 48h, 72h, 5 days, 10 days, more than 10 days.
For Overdue, it should be overdue by: 24h 48h 72h, 5 days, 10 days, more than 10 days.

I have a status column at AB
A completed date column at V
A completion due date column at T
- annoyingly all the dates are formatted like this 27/02/2015 10:31:55

My code is not producing any results.
For Completed:
=countifs($AB:$AB,"Completed",$V:$V,NOW()-1
I then change the -1 to -2, -3, -5, -10.

For Due:
=countifs($AB:$AB,"In Progress",$T:$T,NOW()+1
I then change the +1 to +2, +3, +5, +10, >+10

For Overdue:
=countifs($AB:$AB,"In Progress",$T:$T,NOW()-1
I then change the -1 to -2, -3, -5, -10, >-10

Nothing is working. I suspect its something to do with the date format, but am not sure.

Any help appreciated.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
The forum has corrupted your post and it is unreadable.
Please edit your post and place a space before and after any carats < >
 
Last edited:
Upvote 0
Ok, here goes take two...


I am looking to work out if a list of items have been Completed, Due or Overdue.
For completed, it should be in last: 24h, 48h, 72h, 5 days, 10 days.
For Due, it should be in next: 24h, 48h, 72h, 5 days, 10 days, more than 10 days.
For Overdue, it should be overdue by: 24h 48h 72h, 5 days, 10 days, more than 10 days.

I have a status column at AB
A completed date column at V
A completion due date column at T
- annoyingly all the dates are formatted like this 27/02/2015 10:31:55

My code is not producing any results.
For Completed:
=countifs($AB:$AB,"Completed",$V:$V,NOW()-1
I then change the -1 to -2, -3, -5, -10.

For Due:
=countifs($AB:$AB,"In Progress",$T:$T,NOW()+1
I then change the +1 to +2, +3, +5, +10, > +10

For Overdue:
=countifs($AB:$AB,"In Progress",$T:$T,NOW()-1
I then change the -1 to -2, -3, -5, -10, > -10

Nothing is working. I suspect its something to do with the date format, but am not sure.

Any help appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

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