I work for a hospital. The problem is we want to calculate the difference between the Sign in Time and the Appointment time. Here's the problem. Some people arrive prior to there appointment time and some arrive after. I want the average of both, but, I can't seem to get access to work with positive and negative times(based on appt time). Example I have a 9:00am appt.,I arrive at 8:40 20 minutes prior. The next person 9:00am appt, arrives at 9:10 10 minutes later. The average should be -5(meaning 5 minutes prior) for both. How do I do this? It is driving me crazy. Thank you for your help.
Sussex
Sussex