G
G.
My form has a start time field and an end time field. Both fields are
formatted as Medium Time. I have 2 questions:
1) I need to calculate the difference in time between the 2 fields. The
current formula is =[start time]-[end time]. The formatting for this
calculated field is n. The problem is that this formula does fine when the
times are less than 61 minutes apart. However, if the start time is 10:35am
and the end time is 12:10pm the data in the calculated field returns a value
of 35? Also, if the end time is earlier than the start time (yes, it is
possible in my situation), the data in the calcualted field still returns the
time difference as positive.
2) I have a conditional field on the same form based on the answer to the
time difference field described above. I want the field to return "Yes" if
the time difference is greater than 60 minutes and "No" if it is less. The
curretn formula is =IIf([time diff]>60,"Yes","No"). The problem is that
nothing is greater than 60 even if the time difference is more than 1 hr.
apart.
This is probably an easy fix but I just can't get my head around it. Please
Please help.
Thank you.
formatted as Medium Time. I have 2 questions:
1) I need to calculate the difference in time between the 2 fields. The
current formula is =[start time]-[end time]. The formatting for this
calculated field is n. The problem is that this formula does fine when the
times are less than 61 minutes apart. However, if the start time is 10:35am
and the end time is 12:10pm the data in the calculated field returns a value
of 35? Also, if the end time is earlier than the start time (yes, it is
possible in my situation), the data in the calcualted field still returns the
time difference as positive.
2) I have a conditional field on the same form based on the answer to the
time difference field described above. I want the field to return "Yes" if
the time difference is greater than 60 minutes and "No" if it is less. The
curretn formula is =IIf([time diff]>60,"Yes","No"). The problem is that
nothing is greater than 60 even if the time difference is more than 1 hr.
apart.
This is probably an easy fix but I just can't get my head around it. Please
Please help.
Thank you.