I'm trying to build a planning sheet for drivers on different routes based on their availability and knowledge of the routes. Let me try to clarify this : I have 5 drivers, each of them knows 2 different routes, they all have availabilities from monday to friday. I need to plan for a given day for each route a driver according to it's knowledge and availability. Of course each driver can only drive one route. There is also my problem I'm using a Filter function that looks like this =FILTER($B$4:$B$8,($C$4:$C$8=L4)*($F$4:$F$8="x"),FILTER($B$4:$B$8,($D$4:$D$8=L4)*($F$4:$F$8="x"),"OPEN")), problem is that I searches everytime the whole list of drivers, where it shopuld be able to search only drivers that haven't been selected yet. I haven't found a solution for that last bit... Any help on this ?
Driver planning.xlsx | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | |||||||||||||||
2 | Prefered | Available | Planning | ||||||||||||
3 | Driver | Route 1 | Route 2 | Mon | Tue | Wed | Thu | Fri | Route | Mon | |||||
4 | D1 | R1 | R3 | x | x | x | x | x | R1 | D1 | |||||
5 | D2 | R2 | R4 | R2 | D3 | ||||||||||
6 | D3 | R4 | R2 | x | x | x | x | x | R3 | D4 | |||||
7 | D4 | R3 | R5 | x | x | x | x | x | R4 | D3 | |||||
8 | D5 | R5 | R1 | x | x | x | x | x | R5 | D5 | |||||
9 | |||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
M4:M8 | M4 | =FILTER($B$4:$B$8,($C$4:$C$8=L4)*($F$4:$F$8="x"),FILTER($B$4:$B$8,($D$4:$D$8=L4)*($F$4:$F$8="x"),"OPEN")) |