KarimGawish
6 years agoQrew Member
List days capacity between two dates
I'm trying to calculate the workload of my department while adding new projects. So I have a table for Projects submitted and a table of employees' availability dates.
I need a formula that does the following:
It lists the days between submission and deadline dates of new projects and retrieves value in a field [capacity] corresponding to those days from a child table and sums them.
For instance, if I add a record with the following data:
Submission date: Feb 23rd
Deadline: Feb 26th
it returns:
sum(Feb 23 [capacity] + Feb 24[capacity] + Feb 25[capacity] + Feb 26 [capacity])
If you calculate it manually according to data in screenshot it should return 36.
Thank you
I need a formula that does the following:
It lists the days between submission and deadline dates of new projects and retrieves value in a field [capacity] corresponding to those days from a child table and sums them.
For instance, if I add a record with the following data:
Submission date: Feb 23rd
Deadline: Feb 26th
it returns:
sum(Feb 23 [capacity] + Feb 24[capacity] + Feb 25[capacity] + Feb 26 [capacity])
If you calculate it manually according to data in screenshot it should return 36.
Thank you