I am trying to lookup up the attendance day and time in the Attendance Table (on the top) within the program table (on the bottom) and return the program title in the attendance table (in the shaded area).
If the hours fall outside of the program tables starttime and or finishtime an empty cell is returned.
Any help with a formula would be greatly appreciated
Attendance Table
Day Arrival Time Program
Tuesday 16:00 Program 1
Monday 15:20 Program 2
Thursday 15:30 Program 2
Thursday 13:00 Program 5
Monday 12:00
Monday 16:30 Program3
Tuesday 11:00
Program Table
Program Day StartTime FinishTime
Program 1 Tuesday 15:30 17:00
Program 2 Thursday 15:30 17:00
Program 3 Monday 14:30 17:00
Program 4 Wednesday 15:30 17:30
Program 5 Thursday 12:00 13:30
If the hours fall outside of the program tables starttime and or finishtime an empty cell is returned.
Any help with a formula would be greatly appreciated
Attendance Table
Day Arrival Time Program
Tuesday 16:00 Program 1
Monday 15:20 Program 2
Thursday 15:30 Program 2
Thursday 13:00 Program 5
Monday 12:00
Monday 16:30 Program3
Tuesday 11:00
Program Table
Program Day StartTime FinishTime
Program 1 Tuesday 15:30 17:00
Program 2 Thursday 15:30 17:00
Program 3 Monday 14:30 17:00
Program 4 Wednesday 15:30 17:30
Program 5 Thursday 12:00 13:30