R
rhollo
I have a time sheet that looks something like this:
A1=time...A2=time...A3=A2-A1+if(A1/24,1)...A4=if(or(A3<time(0,15,0),A3>time(4,0,0)),A3,time(4,0,0))
A1 and A2 are set up as dropdown lists and the times in the list are i
increments of 15 minutes. WHat I'm trying to accomplish is (in cell A4
if A3 is between 15 minutes and 4 hours, then return 4 hours. if A3 i
0 or greater than 4 hours, return A3.
If I enter enter times in A1 around 00:00 and A2 a little after 00:0
it works fine... example:
A1=22:00...A2=01:00...A3=03:00...A4=04:00
A1=20:30...A2=00:15...A3=03:45...A4=04:00
A1=00:00...A2=00:00...A3=00:00...A4=00:00
If I enter times after 00:00 in either A1 or A2 it doesn't work..
example:
A1=01:00...A2=03:30...A3=02:30...A4=02:30
A1=13:00...A2=14:15...A3=01:15...A4=01:15
Can anyone help
A1=time...A2=time...A3=A2-A1+if(A1/24,1)...A4=if(or(A3<time(0,15,0),A3>time(4,0,0)),A3,time(4,0,0))
A1 and A2 are set up as dropdown lists and the times in the list are i
increments of 15 minutes. WHat I'm trying to accomplish is (in cell A4
if A3 is between 15 minutes and 4 hours, then return 4 hours. if A3 i
0 or greater than 4 hours, return A3.
If I enter enter times in A1 around 00:00 and A2 a little after 00:0
it works fine... example:
A1=22:00...A2=01:00...A3=03:00...A4=04:00
A1=20:30...A2=00:15...A3=03:45...A4=04:00
A1=00:00...A2=00:00...A3=00:00...A4=00:00
If I enter times after 00:00 in either A1 or A2 it doesn't work..
example:
A1=01:00...A2=03:30...A3=02:30...A4=02:30
A1=13:00...A2=14:15...A3=01:15...A4=01:15
Can anyone help