I have a table called "SR Data" which is a list of every scheduled "service request" that has a start date/time and an end date/time.
Users are schedule 8 hours a day. Either two visits: one 4 hour in the morning and one 4 hours in the afternoon, or one 8 hour visit.
I'm trying to show user availability by day. I tried:
IF(SUM(SR Duration) <8, "Avail", "Booked") but it doesn't seem like I'm getting what I need.
Also, I'd ideally like to show if the scheduled SR and the availability are for AM, PM, or All day.