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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,214,622
Messages
6,120,572
Members
448,972
Latest member
Shantanu2024

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