Count-if + rolling weeks

dmxcasper2

Board Regular
Joined
Mar 21, 2012
Messages
65
Problem Statement:

Column B through D track a rolling count of items that are open and closed for a duration of the last 30 days based on today's date. (Blue table)

I'm trying to accomplish the same function by using rolling weeks instead. (Yellow Table)

This is simple, but I've been at this for an hour and can't seem to integrate the weekday formula properly. Any help is appreciated.

File download:
https://drive.google.com/file/d/1Rh7rT8dZj5kzRMQATccHXFIxZOe1XSSO/view?usp=sharing


 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello,

Could you give an indication of your expected results in cells G5 and H5 ...?

Are you expecting 38 and 34 ...?
 
Upvote 0
11/05/2018 - 11/11/2018 - G5 = 28, H5 = 19
11/12/2018 - 11/18/2018 - G5 = 145, H5 = 126

This would be the logic. The week would start on every Monday. I only need last (4) weeks.
 
Upvote 0
Please can you show your working out? I've looked at your workbook and on the Data sheet I filtered the date to the ranges in your last post and I only find as an example 22 actions opened.
 
Upvote 0
11/05/2018 - 11/11/2018 - G5 = 28, H5 = 19
11/12/2018 - 11/18/2018 - G5 = 145, H5 = 126

This would be the logic. The week would start on every Monday. I only need last (4) weeks.

With your first Date in cell F5 and the second one in cell F6 ... you could test in cell G6 :

Code:
=COUNTIFS(issueOpenDates,">="&$F5,issueOpenDates,"<"&$F6)

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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