Historically calculating weeks waiting by week

Benjamest

New Member
Joined
Oct 26, 2016
Messages
1
Hi all,

I have a table of customer who are awaiting or have had a procedure in a table like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Customer ID[/TD]
[TD]Procedure[/TD]
[TD]Request Date[/TD]
[TD]Completion Date[/TD]
[/TR]
[TR]
[TD]0001[/TD]
[TD]Echo[/TD]
[TD]2018-04-02[/TD]
[TD]2018-05-05[/TD]
[/TR]
[TR]
[TD]0002[/TD]
[TD]Echo[/TD]
[TD]2018-05-06[/TD]
[TD]2018-05-27[/TD]
[/TR]
[TR]
[TD]0003[/TD]
[TD]TILT[/TD]
[TD]2018-05-07[/TD]
[TD]2018-05-20[/TD]
[/TR]
[TR]
[TD]0004[/TD]
[TD]Echo[/TD]
[TD]2018-05-19[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

These procedures should be done within six weeks but can take longer. What I'm wanting to be able to see is by procedure how many customers were waiting at each week by how many weeks they have been waiting. E.g.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Echo[/TD]
[TD]Week 1[/TD]
[TD]Week 2[/TD]
[TD]Week 3[/TD]
[TD]Week 4[/TD]
[TD]Week 5[/TD]
[TD]Week 6[/TD]
[/TR]
[TR]
[TD]02/04/18[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]09/04/18[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16/04/18[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]23/04/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30/04/18[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]07/05/18[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14/05/18[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]21/05/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]28/05/18[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I have about 120k rows with a variety of 20 procedures. I'm happy to use VBA or formula, and can add additional columns the the table if needed.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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