Hello guys,
I am facing a problem for which I couldn't find anything on this forum so far.
I am trying to find how many agents with a certain skill are available during a 30 minute time frame based on their schedule(Table1). An agent can have multiple skills and those should be reflected in Table2.
Table1
<tbody>
</tbody>
Table2
<tbody>
</tbody>
So Table2 actually is created for each skill and each 30 minute timeframe.
Considering that each agent works every day from Table1 - B2 to C2 and he can have skills from D2:J2.
So on Table2-B3 I should have a formula that counts all Agents that are available between 00:00 to 00:30 and that have on column D something that is not blank considering their time on IN B:B and OUT C:C from table1.
Thanks,
Razvan
I am facing a problem for which I couldn't find anything on this forum so far.
I am trying to find how many agents with a certain skill are available during a 30 minute time frame based on their schedule(Table1). An agent can have multiple skills and those should be reflected in Table2.
Table1
row/col | A | B | C | D | E | F | G | H | I | J |
1 | Agent | IN | OUT | skill1 | skill2 | skill3 | skill4 | skill5 | skill6 | skill7 |
2 | AGENT1 | 9:00 AM | 5:30 PM | 1 | 1 | 1 | ||||
3 | AGENT2 | 9:00 AM | 5:30 PM | 1 | 1 | 1 | 1 | 1 | ||
4 | AGENT3 | 9:00 AM | 5:30 PM | 1 | 1 | 1 | 1 | |||
5 | AGENT4 | 12:00 PM | 8:30 PM | 1 | 1 | 1 | ||||
6 | AGENT5 | 12:00 PM | 8:30 PM | 1 | 1 | 1 | ||||
7 | AGENT6 | 6:00 PM | 2:30 AM | 1 | 1 | 1 | 1 | |||
8 | AGENT7 | 6:00 PM | 2:30 AM | 1 | 1 | 1 | 1 | |||
9 | AGENT8 | 5:00 PM | 1:30 AM | 1 | 1 | 1 | 1 | 1 | 1 |
<tbody>
</tbody>
Table2
row/col | A | B |
1 | Skill1 | |
2 | Time frame | Logged |
3 | 00:00-00:30 | 2 |
4 | 00:30-01:00 | 2 |
5 | 01:00-01:30 | 2 |
6 | 01:30-02:00 | 1 |
<tbody>
</tbody>
So Table2 actually is created for each skill and each 30 minute timeframe.
Considering that each agent works every day from Table1 - B2 to C2 and he can have skills from D2:J2.
So on Table2-B3 I should have a formula that counts all Agents that are available between 00:00 to 00:30 and that have on column D something that is not blank considering their time on IN B:B and OUT C:C from table1.
Thanks,
Razvan