second formula calculation
Hello fellows,
after a nice guy solved a big problem with a formula which I could not fix.
There is the next issue to be solved.
WENN(UND(D3=0;E3=0;H3=0;I3=0);−0;WENN(H3<I3;I3−H3;24+I3−H3))+WENN(UND(D3>6;E3=I3 );−24;F3−I3+F3)
Column J is the formula which has to be fixed.
Thus I would like to ask you for help.
Column C is beginning of the standby and driving time (working time). In Column D the driving time starts. In column E the driving time ends. The driving and standby time ends in column I actually the working time. The result would be in column J. The working and standby time are usually from 17 hours in the evening to 6 hours in the morning. In column 3 the month starts from midnight and the work ends at 6:45 in the morning that's why D3 has 0,0001 as start time. Column J calculates the time from column E to the end usually. In line 3 the result would be J3 6,75 hours of work.
My own try:
In line 3 the start time in D3 should be 0 (0,0001) hours midnight (C3 to E3 was just a test). The results in J3, J5, J6 are as they should be.
Formular in J5 is: WENN(LÄNGE(C5)×LÄNGE(D5)×LÄNGE(E5)=0;"";WENN(H5<I5;I5−H5;24+I5−H5))+WENN(UND(D5 >6;E5=I5);−24;−0)
Translation: wenn = if, und = and, länge = length. In German time system you have the 24 hours.
If any one is interested : column "O" should calculate the time from 23 hours at night to 6 hours in the morning. For this column I have not made a formula yet. Column "E" is start and "I" end time. The result in "O4" is 7 hours.
Possibly I'll have a try on this later. If some one is not quicker.
So I hope you have all the information you need to solve the formulas. For me it's when it comes to the difficult formulas more an experimenting rather then experience or knowledge.
Thank you in advance for any one you tries his luck.
Regards limmy3
iMac, OS X El Capitan (10.11), always latest version