Count cell between dates by user

DalPai

New Member
Joined
Aug 13, 2018
Messages
29
Hello all,

I have a tricky problem that I can't solve, and I would like help from more experienced people.

I have a gantt chart to show the progress of tasks by user.
Bar colors are made by conditional formatting, but each cell that is painted also has a value of "1" (while unpainted cells have a value of "0").

I am trying to create a matrix where I can show how many times the number "1" has appeared to the user within a time frame.

For example, in the column 28/10 (which represents the entire week of October 28), Charles should have the number 15.

Attached the example used
https://drive.google.com/file/d/1xQ8uJCIg5ofVQzC0c6c9JOiLhmJ5v6FT/view?usp=sharing

Best Regards,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi Dal,

in D6 paste & Copy across;

=SUMPRODUCT(('ACTIVITY SCHEDULE'!$K$5:$JZ$5>='RESOURCE MATRIX'!D$5)*('ACTIVITY SCHEDULE'!$K$5:$JZ$5<='RESOURCE MATRIX'!D$5+4)*('ACTIVITY SCHEDULE'!$E$6:$E$11='RESOURCE MATRIX'!$C6)*'ACTIVITY SCHEDULE'!$K$6:$JZ$11)

Note that Charles only has 15 if his name is in E6 as well.
 
Upvote 0

Forum statistics

Threads
1,223,701
Messages
6,173,920
Members
452,539
Latest member
deeme

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