twickmanmd
New Member
- Joined
- Mar 15, 2021
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
Can someone help me find a shorter formula. I would like the corresponding row's first column to appear in successive columns in a second sheet. Each F number (ie F1, F2, etc) refers to a person. the cells to the right of each person refer to a job that they will be doing (ie Team 1, Team 2, team transplant, etc). I would like the person to be placed in a cell corresponding to the team that they are on during those weeks. If two people on on that team, then I need the second person to appear in the column next to them.
I am using one sheet,
to fill out another,
Currently I am using the IF function (where MonthlyB is the monthly schedule as shown above) in the following two ways to capture the second person for the second column.
The problem is now I am realizing that to get this formula to work on the 4th occurrence would be very problematic. I was thinking of an array, but could wrap my head around how to get it to work.
Any suggestions?
Thanks in advance,
Terrance
I am using one sheet,
2021_2022_fellow_schedule.xlsx | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | |||
1 | START DATE | 4-Jul | 1-Aug | 29-Aug | 26-Sep | 24-Oct | 21-Nov | 19-Dec | 16-Jan | 13-Feb | 13-Mar | 10-Apr | 8-May | 5-Jun | ||||||||||
2 | WEEKS | 1-4 | 5-8 | 9-12 | 13-16 | 17-20 | 21-24 | 25-28 | 29-32 | 33-36 | 37-40 | 41-44 | 45-48 | 49-52 | TOTAL 1 | TOTAL 2 | TOTAL Transplant | TOTAL ESKD | TOTAL Elective | TOTAL Interventional | TOTAL Palliative | Total Months | ||
3 | F1 | elective | 1 | transplant | 2 | elective | 1 | 2 | interventional | transplant | ESKD | elective | 1 | 2 | 3 | 3 | 2 | 1 | 3 | 1 | 0 | 13 | ||
4 | F2 | 1 | transplant | 2 | elective | 1 | 2 | interventional | transplant | ESKD | elective | 1 | 2 | elective | 3 | 3 | 2 | 1 | 3 | 1 | 0 | 13 | ||
5 | F3 | transplant | 2 | elective | 1 | 2 | interventional | transplant | ESKD | elective | 1 | 2 | elective | 1 | 3 | 3 | 2 | 1 | 3 | 1 | 0 | 13 | ||
6 | F4 | 2 | elective | 1 | elective | elective | transplant | ESKD | elective | 1 | 2 | interventional | elective | palliative | 2 | 2 | 1 | 1 | 5 | 1 | 1 | 13 | ||
7 | F5 | elective | 1 | 2 | elective | transplant | ESKD | elective | 1 | 2 | interventional | elective | palliative | elective | 2 | 2 | 1 | 1 | 5 | 1 | 1 | 13 | ||
8 | F6 | 1 | 2 | elective | transplant | ESKD | elective | 1 | 2 | interventional | elective | palliative | elective | elective | 2 | 2 | 1 | 1 | 5 | 1 | 1 | 13 | ||
9 | F7 | 2 | elective | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 | ||||||||||||
10 | ||||||||||||||||||||||||
11 | ||||||||||||||||||||||||
MonthlyB |
Cell Formulas | ||
---|---|---|
Range | Formula | |
O3:O9 | O3 | =COUNTIF(B3:N3,"1") |
P3:P9 | P3 | =COUNTIF(B3:N3,"2") |
Q3:Q9 | Q3 | =COUNTIF(B3:N3,"transplant") |
R3:R9 | R3 | =COUNTIF(B3:N3,"ESKD") |
S3:S9 | S3 | =COUNTIF(B3:N3,"elective") |
T3:T9 | T3 | =COUNTIF(B3:N3,"interventional") |
U3:U9 | U3 | =COUNTIF(B3:N3,"palliative") |
V3:V9 | V3 | =SUM(O3:U3) |
A3:A9 | A3 | =Overdraft!C4 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A3:A9 | Cell Value | contains "" | text | NO |
B3:N9 | Cell Value | contains "interventional" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
A3:A9 | Cell Value | contains "" | text | NO |
B3:N9 | Cell Value | contains "palliative" | text | NO |
B3:N9 | Cell Value | contains "elective" | text | NO |
B3:N9 | Cell Value | contains "transplant" | text | NO |
B3:N9 | Cell Value | contains "2" | text | NO |
B3:N9 | Cell Value | contains "1" | text | NO |
B3:N9 | Cell Value | contains "ESKD" | text | NO |
to fill out another,
2021_2022_fellow_schedule.xlsx | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | |||
1 | ||||||||||||||||||||||||
2 | ROTATION | DATE | WEEK | CALL | TEAM 1 | TEAM 1 | TEAM 2 | TEAM 2 | ESKD | TRANSPLANT | TRANSPLANT | INTERVENTIONAL | ELECTIVE | ELECTIVE | ELECTIVE | ELECTIVE | PALLIATIVE | VACATION | VACATION | VACATION | VACATION | BR KPRC | ||
3 | Sunday, June 27, 2021 | 0 | F6 | F2 | F6 | F4 | FALSE | FALSE | F3 | FALSE | FALSE | F1 | F5 | FALSE | ||||||||||
4 | 1 | Sunday, July 4, 2021 | 1 | F5 | F2 | F6 | F4 | FALSE | FALSE | F3 | FALSE | FALSE | F1 | F5 | FALSE | |||||||||
5 | Sunday, July 11, 2021 | 2 | F4 | F2 | F6 | F4 | FALSE | FALSE | F3 | FALSE | FALSE | F1 | F5 | FALSE | ||||||||||
6 | Sunday, July 18, 2021 | 3 | F3 | F2 | F6 | F4 | FALSE | FALSE | F3 | FALSE | FALSE | F1 | F5 | FALSE | ||||||||||
7 | Sunday, July 25, 2021 | 4 | F2 | F2 | F6 | F4 | FALSE | FALSE | F3 | FALSE | FALSE | F1 | F5 | FALSE | ||||||||||
8 | 2 | Sunday, August 1, 2021 | 5 | F1 | F1 | F5 | F3 | F6 | FALSE | F2 | FALSE | FALSE | F4 | FALSE | FALSE | |||||||||
9 | Sunday, August 8, 2021 | 6 | F6 | F1 | F5 | F3 | F6 | FALSE | F2 | FALSE | FALSE | F4 | FALSE | FALSE | ||||||||||
Weekly |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D3:D9 | D3 | =Call_Lecture!C2 |
E3 | E3 | =IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
F3 | F3 | =IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
G3 | G3 | =IF(MonthlyB!B3=2,MonthlyB!A3,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
H3 | H3 | =IF(MonthlyB!B3=2,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=2,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=2,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=2,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=2,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
I3 | I3 | =IF(MonthlyB!B3="ESKD",MonthlyB!A3,IF(MonthlyB!B4="ESKD",MonthlyB!A4,IF(MonthlyB!B5="ESKD",MonthlyB!A5,IF(MonthlyB!B6="ESKD",MonthlyB!A6,IF(MonthlyB!B7="ESKD",MonthlyB!A7,IF(MonthlyB!B8="ESKD",MonthlyB!A8,"FALSE")))))) |
J3 | J3 | =IF(MonthlyB!B3="transplant",MonthlyB!A3,IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
K3 | K3 | =IF(MonthlyB!B3="transplant",IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="transplant",IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="transplant",IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="transplant",IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="transplant",IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
L3 | L3 | =IF(MonthlyB!B3="interventional",MonthlyB!A3,IF(MonthlyB!B4="interventional",MonthlyB!A4,IF(MonthlyB!B5="interventional",MonthlyB!A5,IF(MonthlyB!B6="interventional",MonthlyB!A6,IF(MonthlyB!B7="interventional",MonthlyB!A7,IF(MonthlyB!B8="interventional",MonthlyB!A8,"FALSE")))))) |
M3 | M3 | =IF(MonthlyB!B3="elective",MonthlyB!A3,IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
N3 | N3 | =IF(MonthlyB!B3="elective",IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="elective",IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="elective",IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="elective",IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="elective",IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
E4 | E4 | =IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
F4 | F4 | =IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
G4 | G4 | =IF(MonthlyB!B3=2,MonthlyB!A3,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
H4 | H4 | =IF(MonthlyB!B3=2,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=2,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=2,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=2,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=2,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
I4 | I4 | =IF(MonthlyB!B3="ESKD",MonthlyB!A3,IF(MonthlyB!B4="ESKD",MonthlyB!A4,IF(MonthlyB!B5="ESKD",MonthlyB!A5,IF(MonthlyB!B6="ESKD",MonthlyB!A6,IF(MonthlyB!B7="ESKD",MonthlyB!A7,IF(MonthlyB!B8="ESKD",MonthlyB!A8,"FALSE")))))) |
J4 | J4 | =IF(MonthlyB!B3="transplant",MonthlyB!A3,IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
K4 | K4 | =IF(MonthlyB!B3="transplant",IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="transplant",IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="transplant",IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="transplant",IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="transplant",IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
L4 | L4 | =IF(MonthlyB!B3="interventional",MonthlyB!A3,IF(MonthlyB!B4="interventional",MonthlyB!A4,IF(MonthlyB!B5="interventional",MonthlyB!A5,IF(MonthlyB!B6="interventional",MonthlyB!A6,IF(MonthlyB!B7="interventional",MonthlyB!A7,IF(MonthlyB!B8="interventional",MonthlyB!A8,"FALSE")))))) |
M4 | M4 | =IF(MonthlyB!B3="elective",MonthlyB!A3,IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
N4 | N4 | =IF(MonthlyB!B3="elective",IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="elective",IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="elective",IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="elective",IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="elective",IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
E5 | E5 | =IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
F5 | F5 | =IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
G5 | G5 | =IF(MonthlyB!B3=2,MonthlyB!A3,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
H5 | H5 | =IF(MonthlyB!B3=2,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=2,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=2,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=2,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=2,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
I5 | I5 | =IF(MonthlyB!B3="ESKD",MonthlyB!A3,IF(MonthlyB!B4="ESKD",MonthlyB!A4,IF(MonthlyB!B5="ESKD",MonthlyB!A5,IF(MonthlyB!B6="ESKD",MonthlyB!A6,IF(MonthlyB!B7="ESKD",MonthlyB!A7,IF(MonthlyB!B8="ESKD",MonthlyB!A8,"FALSE")))))) |
J5 | J5 | =IF(MonthlyB!B3="transplant",MonthlyB!A3,IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
K5 | K5 | =IF(MonthlyB!B3="transplant",IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="transplant",IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="transplant",IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="transplant",IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="transplant",IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
L5 | L5 | =IF(MonthlyB!B3="interventional",MonthlyB!A3,IF(MonthlyB!B4="interventional",MonthlyB!A4,IF(MonthlyB!B5="interventional",MonthlyB!A5,IF(MonthlyB!B6="interventional",MonthlyB!A6,IF(MonthlyB!B7="interventional",MonthlyB!A7,IF(MonthlyB!B8="interventional",MonthlyB!A8,"FALSE")))))) |
M5 | M5 | =IF(MonthlyB!B3="elective",MonthlyB!A3,IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
N5 | N5 | =IF(MonthlyB!B3="elective",IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="elective",IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="elective",IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="elective",IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="elective",IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
E6 | E6 | =IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
F6 | F6 | =IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
G6 | G6 | =IF(MonthlyB!B3=2,MonthlyB!A3,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
H6 | H6 | =IF(MonthlyB!B3=2,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=2,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=2,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=2,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=2,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
I6 | I6 | =IF(MonthlyB!B3="ESKD",MonthlyB!A3,IF(MonthlyB!B4="ESKD",MonthlyB!A4,IF(MonthlyB!B5="ESKD",MonthlyB!A5,IF(MonthlyB!B6="ESKD",MonthlyB!A6,IF(MonthlyB!B7="ESKD",MonthlyB!A7,IF(MonthlyB!B8="ESKD",MonthlyB!A8,"FALSE")))))) |
J6 | J6 | =IF(MonthlyB!B3="transplant",MonthlyB!A3,IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
K6 | K6 | =IF(MonthlyB!B3="transplant",IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="transplant",IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="transplant",IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="transplant",IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="transplant",IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
L6 | L6 | =IF(MonthlyB!B3="interventional",MonthlyB!A3,IF(MonthlyB!B4="interventional",MonthlyB!A4,IF(MonthlyB!B5="interventional",MonthlyB!A5,IF(MonthlyB!B6="interventional",MonthlyB!A6,IF(MonthlyB!B7="interventional",MonthlyB!A7,IF(MonthlyB!B8="interventional",MonthlyB!A8,"FALSE")))))) |
M6 | M6 | =IF(MonthlyB!B3="elective",MonthlyB!A3,IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
N6 | N6 | =IF(MonthlyB!B3="elective",IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="elective",IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="elective",IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="elective",IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="elective",IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
E7 | E7 | =IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
F7 | F7 | =IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))))) |
G7 | G7 | =IF(MonthlyB!B3=2,MonthlyB!A3,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
H7 | H7 | =IF(MonthlyB!B3=2,IF(MonthlyB!B4=2,MonthlyB!A4,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=2,IF(MonthlyB!B5=2,MonthlyB!A5,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=2,IF(MonthlyB!B6=2,MonthlyB!A6,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=2,IF(MonthlyB!B7=2,MonthlyB!A7,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=2,IF(MonthlyB!B8=2,MonthlyB!A8,"FALSE")))))) |
I7 | I7 | =IF(MonthlyB!B3="ESKD",MonthlyB!A3,IF(MonthlyB!B4="ESKD",MonthlyB!A4,IF(MonthlyB!B5="ESKD",MonthlyB!A5,IF(MonthlyB!B6="ESKD",MonthlyB!A6,IF(MonthlyB!B7="ESKD",MonthlyB!A7,IF(MonthlyB!B8="ESKD",MonthlyB!A8,"FALSE")))))) |
J7 | J7 | =IF(MonthlyB!B3="transplant",MonthlyB!A3,IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
K7 | K7 | =IF(MonthlyB!B3="transplant",IF(MonthlyB!B4="transplant",MonthlyB!A4,IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="transplant",IF(MonthlyB!B5="transplant",MonthlyB!A5,IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="transplant",IF(MonthlyB!B6="transplant",MonthlyB!A6,IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="transplant",IF(MonthlyB!B7="transplant",MonthlyB!A7,IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="transplant",IF(MonthlyB!B8="transplant",MonthlyB!A8,"FALSE")))))) |
L7 | L7 | =IF(MonthlyB!B3="interventional",MonthlyB!A3,IF(MonthlyB!B4="interventional",MonthlyB!A4,IF(MonthlyB!B5="interventional",MonthlyB!A5,IF(MonthlyB!B6="interventional",MonthlyB!A6,IF(MonthlyB!B7="interventional",MonthlyB!A7,IF(MonthlyB!B8="interventional",MonthlyB!A8,"FALSE")))))) |
M7 | M7 | =IF(MonthlyB!B3="elective",MonthlyB!A3,IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
N7 | N7 | =IF(MonthlyB!B3="elective",IF(MonthlyB!B4="elective",MonthlyB!A4,IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4="elective",IF(MonthlyB!B5="elective",MonthlyB!A5,IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5="elective",IF(MonthlyB!B6="elective",MonthlyB!A6,IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6="elective",IF(MonthlyB!B7="elective",MonthlyB!A7,IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!B7="elective",IF(MonthlyB!B8="elective",MonthlyB!A8,"FALSE")))))) |
E8 | E8 | =IF(MonthlyB!C3=1,MonthlyB!A3,IF(MonthlyB!C4=1,MonthlyB!A4,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))))) |
F8 | F8 | =IF(MonthlyB!C3=1,IF(MonthlyB!C4=1,MonthlyB!A4,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4=1,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5=1,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6=1,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!C7=1,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))))) |
G8 | G8 | =IF(MonthlyB!C3=2,MonthlyB!A3,IF(MonthlyB!C4=2,MonthlyB!A4,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))))) |
H8 | H8 | =IF(MonthlyB!C3=2,IF(MonthlyB!C4=2,MonthlyB!A4,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4=2,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5=2,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6=2,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!C7=2,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))))) |
I8 | I8 | =IF(MonthlyB!C3="ESKD",MonthlyB!A3,IF(MonthlyB!C4="ESKD",MonthlyB!A4,IF(MonthlyB!C5="ESKD",MonthlyB!A5,IF(MonthlyB!C6="ESKD",MonthlyB!A6,IF(MonthlyB!C7="ESKD",MonthlyB!A7,IF(MonthlyB!C8="ESKD",MonthlyB!A8,"FALSE")))))) |
J8 | J8 | =IF(MonthlyB!C3="transplant",MonthlyB!A3,IF(MonthlyB!C4="transplant",MonthlyB!A4,IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))))) |
K8 | K8 | =IF(MonthlyB!C3="transplant",IF(MonthlyB!C4="transplant",MonthlyB!A4,IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4="transplant",IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5="transplant",IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6="transplant",IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!C7="transplant",IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))))) |
L8 | L8 | =IF(MonthlyB!C3="interventional",MonthlyB!A3,IF(MonthlyB!C4="interventional",MonthlyB!A4,IF(MonthlyB!C5="interventional",MonthlyB!A5,IF(MonthlyB!C6="interventional",MonthlyB!A6,IF(MonthlyB!C7="interventional",MonthlyB!A7,IF(MonthlyB!C8="interventional",MonthlyB!A8,"FALSE")))))) |
M8 | M8 | =IF(MonthlyB!C3="elective",MonthlyB!A3,IF(MonthlyB!C4="elective",MonthlyB!A4,IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))))) |
N8 | N8 | =IF(MonthlyB!C3="elective",IF(MonthlyB!C4="elective",MonthlyB!A4,IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4="elective",IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5="elective",IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6="elective",IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!C7="elective",IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))))) |
E9 | E9 | =IF(MonthlyB!C3=1,MonthlyB!A3,IF(MonthlyB!C4=1,MonthlyB!A4,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))))) |
F9 | F9 | =IF(MonthlyB!C3=1,IF(MonthlyB!C4=1,MonthlyB!A4,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4=1,IF(MonthlyB!C5=1,MonthlyB!A5,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5=1,IF(MonthlyB!C6=1,MonthlyB!A6,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6=1,IF(MonthlyB!C7=1,MonthlyB!A7,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!C7=1,IF(MonthlyB!C8=1,MonthlyB!A8,"FALSE")))))) |
G9 | G9 | =IF(MonthlyB!C3=2,MonthlyB!A3,IF(MonthlyB!C4=2,MonthlyB!A4,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))))) |
H9 | H9 | =IF(MonthlyB!C3=2,IF(MonthlyB!C4=2,MonthlyB!A4,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4=2,IF(MonthlyB!C5=2,MonthlyB!A5,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5=2,IF(MonthlyB!C6=2,MonthlyB!A6,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6=2,IF(MonthlyB!C7=2,MonthlyB!A7,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")),IF(MonthlyB!C7=2,IF(MonthlyB!C8=2,MonthlyB!A8,"FALSE")))))) |
I9 | I9 | =IF(MonthlyB!C3="ESKD",MonthlyB!A3,IF(MonthlyB!C4="ESKD",MonthlyB!A4,IF(MonthlyB!C5="ESKD",MonthlyB!A5,IF(MonthlyB!C6="ESKD",MonthlyB!A6,IF(MonthlyB!C7="ESKD",MonthlyB!A7,IF(MonthlyB!C8="ESKD",MonthlyB!A8,"FALSE")))))) |
J9 | J9 | =IF(MonthlyB!C3="transplant",MonthlyB!A3,IF(MonthlyB!C4="transplant",MonthlyB!A4,IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))))) |
K9 | K9 | =IF(MonthlyB!C3="transplant",IF(MonthlyB!C4="transplant",MonthlyB!A4,IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4="transplant",IF(MonthlyB!C5="transplant",MonthlyB!A5,IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5="transplant",IF(MonthlyB!C6="transplant",MonthlyB!A6,IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6="transplant",IF(MonthlyB!C7="transplant",MonthlyB!A7,IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")),IF(MonthlyB!C7="transplant",IF(MonthlyB!C8="transplant",MonthlyB!A8,"FALSE")))))) |
L9 | L9 | =IF(MonthlyB!C3="interventional",MonthlyB!A3,IF(MonthlyB!C4="interventional",MonthlyB!A4,IF(MonthlyB!C5="interventional",MonthlyB!A5,IF(MonthlyB!C6="interventional",MonthlyB!A6,IF(MonthlyB!C7="interventional",MonthlyB!A7,IF(MonthlyB!C8="interventional",MonthlyB!A8,"FALSE")))))) |
M9 | M9 | =IF(MonthlyB!C3="elective",MonthlyB!A3,IF(MonthlyB!C4="elective",MonthlyB!A4,IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))))) |
N9 | N9 | =IF(MonthlyB!C3="elective",IF(MonthlyB!C4="elective",MonthlyB!A4,IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE"))))),IF(MonthlyB!C4="elective",IF(MonthlyB!C5="elective",MonthlyB!A5,IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))),IF(MonthlyB!C5="elective",IF(MonthlyB!C6="elective",MonthlyB!A6,IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE"))),IF(MonthlyB!C6="elective",IF(MonthlyB!C7="elective",MonthlyB!A7,IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")),IF(MonthlyB!C7="elective",IF(MonthlyB!C8="elective",MonthlyB!A8,"FALSE")))))) |
Q3 | Q3 | =IF(MonthlyB!B3="palliative",MonthlyB!A3,IF(MonthlyB!B4="palliative",MonthlyB!A4,IF(MonthlyB!B5="palliative",MonthlyB!A5,IF(MonthlyB!B6="palliative",MonthlyB!A6,IF(MonthlyB!B7="palliative",MonthlyB!A7,IF(MonthlyB!B8="palliative",MonthlyB!A8,"FALSE")))))) |
Q4 | Q4 | =IF(MonthlyB!B3="palliative",MonthlyB!A3,IF(MonthlyB!B4="palliative",MonthlyB!A4,IF(MonthlyB!B5="palliative",MonthlyB!A5,IF(MonthlyB!B6="palliative",MonthlyB!A6,IF(MonthlyB!B7="palliative",MonthlyB!A7,IF(MonthlyB!B8="palliative",MonthlyB!A8,"FALSE")))))) |
Q5 | Q5 | =IF(MonthlyB!B3="palliative",MonthlyB!A3,IF(MonthlyB!B4="palliative",MonthlyB!A4,IF(MonthlyB!B5="palliative",MonthlyB!A5,IF(MonthlyB!B6="palliative",MonthlyB!A6,IF(MonthlyB!B7="palliative",MonthlyB!A7,IF(MonthlyB!B8="palliative",MonthlyB!A8,"FALSE")))))) |
Q6 | Q6 | =IF(MonthlyB!B3="palliative",MonthlyB!A3,IF(MonthlyB!B4="palliative",MonthlyB!A4,IF(MonthlyB!B5="palliative",MonthlyB!A5,IF(MonthlyB!B6="palliative",MonthlyB!A6,IF(MonthlyB!B7="palliative",MonthlyB!A7,IF(MonthlyB!B8="palliative",MonthlyB!A8,"FALSE")))))) |
Q7 | Q7 | =IF(MonthlyB!B3="palliative",MonthlyB!A3,IF(MonthlyB!B4="palliative",MonthlyB!A4,IF(MonthlyB!B5="palliative",MonthlyB!A5,IF(MonthlyB!B6="palliative",MonthlyB!A6,IF(MonthlyB!B7="palliative",MonthlyB!A7,IF(MonthlyB!B8="palliative",MonthlyB!A8,"FALSE")))))) |
Q8 | Q8 | =IF(MonthlyB!C3="palliative",MonthlyB!A3,IF(MonthlyB!C4="palliative",MonthlyB!A4,IF(MonthlyB!C5="palliative",MonthlyB!A5,IF(MonthlyB!C6="palliative",MonthlyB!A6,IF(MonthlyB!C7="palliative",MonthlyB!A7,IF(MonthlyB!C8="palliative",MonthlyB!A8,"FALSE")))))) |
Q9 | Q9 | =IF(MonthlyB!C3="palliative",MonthlyB!A3,IF(MonthlyB!C4="palliative",MonthlyB!A4,IF(MonthlyB!C5="palliative",MonthlyB!A5,IF(MonthlyB!C6="palliative",MonthlyB!A6,IF(MonthlyB!C7="palliative",MonthlyB!A7,IF(MonthlyB!C8="palliative",MonthlyB!A8,"FALSE")))))) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "FALSE" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
D3:V55 | Cell Value | contains "" | text | NO |
Currently I am using the IF function (where MonthlyB is the monthly schedule as shown above) in the following two ways to capture the second person for the second column.
Excel Formula:
=IF(MonthlyB!B3=1,MonthlyB!A3,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))))
Excel Formula:
=IF(MonthlyB!B3=1,IF(MonthlyB!B4=1,MonthlyB!A4,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))),IF(MonthlyB!B4=1,IF(MonthlyB!B5=1,MonthlyB!A5,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")))),IF(MonthlyB!B5=1,IF(MonthlyB!B6=1,MonthlyB!A6,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))),IF(MonthlyB!B6=1,IF(MonthlyB!B7=1,MonthlyB!A7,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE")),IF(MonthlyB!B7=1,IF(MonthlyB!B8=1,MonthlyB!A8,"FALSE"))))))
The problem is now I am realizing that to get this formula to work on the 4th occurrence would be very problematic. I was thinking of an array, but could wrap my head around how to get it to work.
Any suggestions?
Thanks in advance,
Terrance