M
Mais qui est Paul ?
Bonsour® Jan Kronsell avec ferveur ;o))) vous nous disiez :
=1-MAX(MOD(A1;1);LateTimeLimite)+MIN(MOD(B1;1);EarlyTimelimite)
HTH
I use the following formularto calculate how much time between start
time and end time lies between 5PM and 6AM.
=(B1<=A1)*(1-(C2)+(C1))+MIN((C1),B1)-MIN((C1),A1)+MAX((C2),B1)-MAX((C2),A1)
A1 is start time, B1 is End time, C1 is Early time limit (6 AM) and
C2 is late time limit (5 PM).
The formula does the job if i just enter fx 03:00 AM in A1 and 7:00 PM
Here is my challenge: I need to add the date to the Entry, so that I
enter
09-01-08 03:00 PM and 09-01-08 7:00 PM.
=1-MAX(MOD(A1;1);LateTimeLimite)+MIN(MOD(B1;1);EarlyTimelimite)
HTH