ghelfer
New Member
- Joined
- Jul 13, 2010
- Messages
- 3
Hello, I need to compare diferents times without seconds and sum the respectives kilometers but both are formated with seconds, please see below:
time1......... km1.......time2........km2
03:15:45.......7.......03:15:55.......8
03:18:26.......7.......03:19:39.......9
03:20:33.......8.......03:21:42.......5
if time1=time2 then
km = km1+km2
else
km = km1
end if
Before the "if" I have a "for" that runs in the both columns (time1, km1, km2, time2)...
time1 and time2 formated in text are:1,13572916666667 and 1,13543981481481
Is there a function or special formula that rounds time??
Thanks in advance....
time1......... km1.......time2........km2
03:15:45.......7.......03:15:55.......8
03:18:26.......7.......03:19:39.......9
03:20:33.......8.......03:21:42.......5
if time1=time2 then
km = km1+km2
else
km = km1
end if
Before the "if" I have a "for" that runs in the both columns (time1, km1, km2, time2)...
time1 and time2 formated in text are:1,13572916666667 and 1,13543981481481
Is there a function or special formula that rounds time??
Thanks in advance....
Last edited: