Well, apparently this problem was above the heads of even this forum! Luckily I found someone at my university's library who was able to help me. In case someone else in the future has a similar query, I'll paste his thoughtful solution here.
"If you combine the date and time cells, here is the solution:
The IF function tries a logical test. The VLOOKUP will search for a date/time (the combined cell you have) within the range of values (the OQ log values columns A:E) and will return the therapist name (which is the column number in the range you specify--in this case 5 since the therapist is in column E). If the therapist name from the VLOOKUP matches the therapist name in C2, it will say TRUE; if not, it will say FALSE. This will only work if the data in the OQ log is sorted by date. It will not work if the log time does not equal the scheduled appointment time exactly."
Works like a charm. Hopefully this helps someone else.
Bookmarks