G'day from Australia!
Long time lurker, first time poster!
Getting a bit stumped figuring a formula to generate a report using INDEX MATCH to detail all "VACANT" positions.
This roster is an example (which generally varies in rows and titles) the only "fixed points" I can constantly refer to are;
Ideally, I am seeking a way to generate an easy-to-read report of vacancies, perhaps, something like below? PS. by all means this particular format is not obligatory, just a quick mockup, should you have a more clearer or elegant solution, I would be grateful to hear your thoughts.
Thanks in advance,
Jason
Long time lurker, first time poster!
Getting a bit stumped figuring a formula to generate a report using INDEX MATCH to detail all "VACANT" positions.
This roster is an example (which generally varies in rows and titles) the only "fixed points" I can constantly refer to are;
- Area=A:A
- Section=B:B
- Shift Timings=C:C
- Role=E:E
- Shift Length (2 cells underneath VACANT/Employee Name)
- Alongside the day columns (i.e Mon= F:F, Tue=G:G, Wed=H:H) for Weeks 1 & 2
Book1.xlsx | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | |||
1 | |||||||||||||||||||||||||||
2 | AM | Clinical Management | AM | Clinical Management | |||||||||||||||||||||||
3 | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | |||
4 | Clinical Mngmt | 09:00 - 17:06 | CM | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Clinical Mngmt | 09:00 - 17:06 | CM | VACANT | VACANT | Employee Name | Employee Name | Employee Name | |||||||||||
5 | |||||||||||||||||||||||||||
6 | 7.6 | 38 | 7.6 | 7.6 | 7.6 | 7.6 | 7.6 | 7.6 | 38 | 7.6 | 7.6 | 7.6 | 7.6 | 7.6 | |||||||||||||
7 | Clinical Mngmt | 07:00 - 15:00 | RN | Employee Name | Employee Name | Clinical Mngmt | 07:00 - 15:00 | RN | Employee Name | Employee Name | |||||||||||||||||
8 | |||||||||||||||||||||||||||
9 | 7.5 | 15 | 7.5 | 7.5 | 7.5 | 15 | 7.5 | 7.5 | |||||||||||||||||||
10 | Clinical Mngmt | 07:00 - 15:00 | RN | Employee Name | VACANT | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Clinical Mngmt | 07:00 - 15:00 | RN | Employee Name | VACANT | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||||
11 | |||||||||||||||||||||||||||
12 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
13 | Clinical Mngmt | 14:45 - 22:15 | RN | Employee Name | Employee Name | Employee Name | VACANT | VACANT | VACANT | Employee Name | Clinical Mngmt | 14:45 - 22:15 | RN | Employee Name | Employee Name | Employee Name | VACANT | VACANT | VACANT | Employee Name | |||||||
14 | |||||||||||||||||||||||||||
15 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
16 | Clinical Mngmt | 22:00 - 07:15 | RN | Employee Name | Employee Name | VACANT | VACANT | Employee Name | Employee Name | Employee Name | Clinical Mngmt | 22:00 - 07:15 | RN | Employee Name | Employee Name | VACANT | VACANT | Employee Name | Employee Name | Employee Name | |||||||
17 | |||||||||||||||||||||||||||
18 | 9.25 | 64.75 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 64.75 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | 9.25 | |||||||||
19 | |||||||||||||||||||||||||||
20 | AM | North A & B (65 Beds) | AM | North A & B (65 Beds) | |||||||||||||||||||||||
21 | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | |||
22 | North Wing | 07:00 - 15:00 | RN | VACANT | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | North Wing | 07:00 - 15:00 | RN | VACANT | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | |||||||
23 | |||||||||||||||||||||||||||
24 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
25 | North Wing | 07:00 - 14:30 | EEN | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | VACANT | Employee Name | North Wing | 07:00 - 14:30 | EEN | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | VACANT | Employee Name | |||||||
26 | |||||||||||||||||||||||||||
27 | 7 | 49 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 49 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | |||||||||
28 | |||||||||||||||||||||||||||
29 | PM | North A & B (65 Beds) | PM | North A & B (65 Beds) | |||||||||||||||||||||||
30 | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | |||
31 | North Wing | 14:45 - 22:00 | RN | Employee Name | Employee Name | VACANT | VACANT | VACANT | Employee Name | Employee Name | North Wing | 14:45 - 22:00 | RN | Employee Name | Employee Name | VACANT | VACANT | VACANT | Employee Name | Employee Name | |||||||
32 | |||||||||||||||||||||||||||
33 | 6.75 | 47.25 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 47.25 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | 6.75 | |||||||||
34 | North Wing | 15:00 - 21:00 | RN | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | 15:00 - 21:00 | RN | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||||
35 | |||||||||||||||||||||||||||
36 | 5.5 | 38.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 38.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | |||||||||
37 | |||||||||||||||||||||||||||
38 | AM | North A & B (65 Beds) | AM | North A & B (65 Beds) | |||||||||||||||||||||||
39 | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Area | Section | Shift | WK Hrs | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | |||
40 | North Wing | A | 07:00 - 14:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | A | 07:00 - 14:00 | PCA | VACANT | VACANT | VACANT | VACANT | VACANT | VACANT | VACANT | |||||
41 | |||||||||||||||||||||||||||
42 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | |||||||||
43 | North Wing | A | 07:00 - 14:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | A | 07:00 - 14:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||
44 | |||||||||||||||||||||||||||
45 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | |||||||||
46 | North Wing | B | 07:00 - 14:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | B | 07:00 - 14:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||
47 | |||||||||||||||||||||||||||
48 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | |||||||||
49 | North Wing | B | 07:00 - 14:00 | PCA | Employee Name | Employee Name | VACANT | VACANT | Employee Name | Employee Name | Employee Name | North Wing | B | 07:00 - 14:00 | PCA | Employee Name | Employee Name | VACANT | VACANT | Employee Name | Employee Name | Employee Name | |||||
50 | |||||||||||||||||||||||||||
51 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 45.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | 6.5 | |||||||||
52 | North Wing | A | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | A | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||
53 | |||||||||||||||||||||||||||
54 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
55 | North Wing | A | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | VACANT | North Wing | A | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | VACANT | VACANT | |||||
56 | |||||||||||||||||||||||||||
57 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
58 | North Wing | B | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | North Wing | B | 07:00 - 15:00 | PCA | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | Employee Name | |||||
59 | |||||||||||||||||||||||||||
60 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
61 | North Wing | B | 07:00 - 15:00 | PCA | Employee Name | Employee Name | VACANT | Employee Name | VACANT | Employee Name | Employee Name | North Wing | B | 07:00 - 15:00 | PCA | Employee Name | Employee Name | VACANT | Employee Name | VACANT | Employee Name | Employee Name | |||||
62 | |||||||||||||||||||||||||||
63 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 52.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | |||||||||
64 | Total AM Hours | 392 | Total AM Hours | 392 | |||||||||||||||||||||||
Roster |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D6,Q6 | D6 | =SUM(F6:J6) |
F6:J6,S60:Y60,F60:L60,S57:Y57,F57:L57,S54:Y54,F54:L54,S51:Y51,F51:L51,S48:Y48,F48:L48,S45:Y45,F45:L45,S42:Y42,F42:L42,S36:Y36,F36:L36,S33:Y33,F33:L33,S27:Y27,F27:L27,S24:Y24,F24:L24,S18:Y18,F18:L18,S15:Y15,F15:L15,S12:Y12,F12:L12,S6:W6 | F6 | =$C6 |
D9,Q9 | D9 | =SUM(K9:L9) |
K9:L9,X9:Y9 | K9 | =$C$9 |
D12,Q63,D63,Q60,D60,Q57,D57,Q54,D54,Q51,D51,Q48,D48,Q45,D45,Q42,D42,Q36,D36,Q33,D33,Q27,D27,Q24,D24,Q18,D18,Q15,D15,Q12 | D12 | =SUM(F12:L12) |
F63:L63,S63:Y63 | F63 | =$C$63 |
D64,Q64 | D64 | =SUM(D42:D63) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
S:Y | Cell Value | ="VACANT" | text | NO |
F1:L132,F134:L147,I133:L133,F149:L1048576,G148:L148 | Cell Value | ="VACANT" | text | NO |
Ideally, I am seeking a way to generate an easy-to-read report of vacancies, perhaps, something like below? PS. by all means this particular format is not obligatory, just a quick mockup, should you have a more clearer or elegant solution, I would be grateful to hear your thoughts.
Book1.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Vacancy Report | |||||||||||||||||||
2 | Week 1 | Week 2 | ||||||||||||||||||
3 | Area | Section | Hours | Role | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | ||
4 | Clinical Mngmt | 15.2 | CM | 09:00 - 17:06 | 09:00 - 17:07 | |||||||||||||||
5 | Clinical Mngmt | 15 | RN | 07:00 - 15:00 | 07:00 - 15:00 | |||||||||||||||
6 | Clinical Mngmt | 45 | RN | 14:45 - 22:15 | 14:45 - 22:15 | 14:45 - 22:15 | 14:45 - 22:15 | 14:45 - 22:15 | 14:45 - 22:15 | |||||||||||
7 | North Wing | A | ||||||||||||||||||
8 | North Wing | A | ||||||||||||||||||
9 | North Wing | B | ||||||||||||||||||
10 | North Wing | B | ||||||||||||||||||
11 | North Wing | A | ||||||||||||||||||
12 | North Wing | A | ||||||||||||||||||
13 | South Wing | B | ||||||||||||||||||
14 | South Wing | B | ||||||||||||||||||
15 | South Wing | B | ||||||||||||||||||
16 | South Wing | A | ||||||||||||||||||
17 | South Wing | A | ||||||||||||||||||
18 | South Wing | A | ||||||||||||||||||
19 | Therapy | |||||||||||||||||||
20 | Therapy | |||||||||||||||||||
21 | ||||||||||||||||||||
Report |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E4:R20 | Cell | contains a blank value | text | NO |
L3:R3 | Cell Value | ="VACANT" | text | NO |
E3:K3 | Cell Value | ="VACANT" | text | NO |
Thanks in advance,
Jason