First of all I want to thank MrExcel.com for everything you guys do, I have been able to find plenty of answers to many questions I’ve had in the past.
Well let’s get into this conundrum, in short this is an On-Call Schedule, what I’m trying to accomplish is to for the techs to select their name from a drop down (I can do this) and for the table to give them the days that they will be on-call (I can’t do this). I have tried different index, match formulas and If statements and I haven’t been able to get the dates.
<tbody>
</tbody>
<tbody>
</tbody>
I have unsuccessfully tried several iterations of the formulas below:
Thank you all for your help,
Erik
Well let’s get into this conundrum, in short this is an On-Call Schedule, what I’m trying to accomplish is to for the techs to select their name from a drop down (I can do this) and for the table to give them the days that they will be on-call (I can’t do this). I have tried different index, match formulas and If statements and I haven’t been able to get the dates.
- 13 worksheets (tabs)
- Overview
- January
- February
- March
- …
- December
Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | ||
Name | Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Hawk | Coordinator | CO | CO | CO | CO | CO | CO | CO | ||||||||||||||||||||||||
Rudy | Coordinator | CO | CO | CO | CO | CO | CO | CO | ||||||||||||||||||||||||
Ryan | Coordinator | CO | CO | CO | CO | CO | CO | CO | ||||||||||||||||||||||||
Stephon | Coordinator | CO | CO | CO | CO | CO | CO | CO | ||||||||||||||||||||||||
Tim | Coordinator | CO | CO | CO |
<tbody>
</tbody>
- Overview worksheet
- This is where they select their name and the table pulls the days. As you can see above the day of the week is listed in a row and the names are on a column. But the table below when you select your name I want the day of the week appear. CO means coordinator and there are other tags I’m using (CO, MN, SU, FT, CT)
- So the table below for day 1 should display, 1,2,3,4,5,6,7 for the month of March.
- His next on-call will be in July, so everything else should be blank.
- On-Call lasts for 7 days straight.
Name: | Hawk | |||||||||||||
Month | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Day 8 | Day 9 | Day 10 | Day 11 | Day 12 | Day 13 | Day 14 |
January | #N/A | #N/A | ||||||||||||
February | #N/A | #N/A | ||||||||||||
March | #N/A | #N/A | ||||||||||||
April | #N/A | #N/A | ||||||||||||
May | ||||||||||||||
June | ||||||||||||||
July | ||||||||||||||
August | ||||||||||||||
September | ||||||||||||||
October | ||||||||||||||
November | ||||||||||||||
December |
<tbody>
</tbody>
I have unsuccessfully tried several iterations of the formulas below:
- =INDEX(January[[#Headers],[1]],MATCH(OverView!Q11,January!D10,0))
- =INDEX(January[[#Headers],[1]:[31]],MATCH(1,INDEX((OverView!Q11=January[[#All],[Name]])*("*"=January[[1]:[31]]),0,1),0))
Thank you all for your help,
Erik