REKLAMA

godz_pracy2.xls

Excel: Jak obliczyć czas pracy przy zmianie doby?

Zgadzam się; można tam dodać warunek: JEŻELI(B2<A2;B2-A2+1;B2-A2). Nie zrobiłem tego bo u mnie wyświetla się normalnie C2=2:10 , a nie 26:10 , a przy zerowych wartościach w A,B lub ich braku w C jest 00:00. Pracuję w Excel 97 może stąd różnica, nie wiem. Kolumna C sformatowana na niestandardowe gg,mm i służy wyłącznie wizualizacji bo obliczenia są i tak prowadzone na kol. D. Tak czy inaczej poniżej wersja poprawiona o warunek oraz zrzut ekranu z przed poprawki. A swoją drogą to ciekawe, że nie odzywa się ten kolega, który temat założył.?


Pobierz plik - link do postu

&quot; ROZPOCZ?CIE &quot; , &quot; ZAKO?CZENIE &quot; , &quot; ILO?? GODZ. &quot; , &quot; Warto??.liczbowa &quot; ,,,,
&quot; 18:25 &quot; , &quot; 20:35 &quot; , &quot; 02:10 &quot; , &quot; 0.0902777777777777 &quot; ,,
&quot; 23:00 &quot; , &quot; 05:00 &quot; , &quot; 06:00 &quot; , &quot; 0.25 &quot; ,,,,
&quot; 23:15 &quot; , &quot; 05:00 &quot; , &quot; 05:45 &quot; , &quot; 0.239583333333333 &quot; ,,,,
&quot; 19:15 &quot; , &quot; 02:46 &quot; , &quot; 07:31 &quot; , &quot; 0.313194444444444 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
, &quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 00:00 &quot; ,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 23:00 &quot; , &quot; 00:00 &quot; , &quot; 01:00 &quot; , &quot; 0.0416666666666666 &quot; ,,,,
&quot; 08:00 &quot; , &quot; 10:30 &quot; , &quot; 02:30 &quot; , &quot; 0.104166666666667 &quot; ,,,,
&quot; 06:00 &quot; , &quot; 15:30 &quot; , &quot; 09:30 &quot; , &quot; 0.395833333333333 &quot; ,,,,
&quot; 21:15 &quot; , &quot; 03:25 &quot; , &quot; 06:10 &quot; , &quot; 0.256944444444444 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 06:30 &quot; , &quot; 00:00 &quot; , &quot; 17:30 &quot; , &quot; 0.729166666666667 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 00:00 &quot; ,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
, &quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 06:30 &quot; , &quot; 00:00 &quot; , &quot; 17:30 &quot; , &quot; 0.729166666666667 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
&quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,, &quot; 00:00 &quot; , &quot; 0 &quot; ,,,,
,,, &quot; 72 &quot; ,,,
&quot; RAZEM &quot; , &quot; dziesi?tnie &quot; , &quot; 75.6 &quot; , &quot; 3 &quot; ,,
,,, &quot; 0.360000000000005 &quot; ,,,,
&quot; RAZEM &quot; , &quot; minutowo &quot; , &quot; 75.36 &quot;