Moderatori: Anthony47, Flash30005
[L’estensione zip è stata disattivata e non puó essere visualizzata.]
=(GIORNI.LAVORATIVI.TOT(G7;H7)*9-18)+(ORARIO(13;0;0)-SE(GIORNO.SETTIMANA(G7;2)>5;ORARIO(8;30;0);SE(RESTO(G7;1)<ORARIO(8;30;0);ORARIO(8;30;0);MIN(RESTO(G7;1);ORARIO(13;0;0)))))*24+(ORARIO(18;30;0)-SE(GIORNO.SETTIMANA(G7;2)>5;ORARIO(14;0;0);SE(RESTO(G7;1)<ORARIO(14;0;0);ORARIO(14;0;0);MIN(RESTO(G7;1);ORARIO(18;30;0)))))*24+(SE(GIORNO.SETTIMANA(H7;2)>5;ORARIO(13;0;0);SE(RESTO(H7;1)>ORARIO(13;0;0);ORARIO(13;0;0);MAX(RESTO(H7;1);ORARIO(8;30;0))))-ORARIO(8;30;0))*24+(SE(GIORNO.SETTIMANA(H7;2)>5;ORARIO(18;30;0);SE(RESTO(H7;1)>ORARIO(18;30;0);ORARIO(18;30;0);MIN(RESTO(H7;1);ORARIO(18;30;0))))-ORARIO(14;0;0))*24
=(GIORNI.LAVORATIVI.TOT(G7;H7)*9-18)+(ORARIO(13;0;0)-SE(GIORNO.SETTIMANA(G7;2)>5;ORARIO(8;30;0);SE(RESTO(G7;1)<ORARIO(8;30;0);ORARIO(8;30;0);MIN(RESTO(G7;1);ORARIO(13;0;0)))))*24+(ORARIO(18;30;0)-SE(GIORNO.SETTIMANA(G7;2)>5;ORARIO(14;0;0);SE(RESTO(G7;1)<ORARIO(14;0;0);ORARIO(14;0;0);MIN(RESTO(G7;1);ORARIO(18;30;0)))))*24+(SE(GIORNO.SETTIMANA(H7;2)>5;ORARIO(13;0;0);SE(RESTO(H7;1)>ORARIO(13;0;0);ORARIO(13;0;0);MAX(RESTO(H7;1);ORARIO(8;30;0))))-ORARIO(8;30;0))*24+(SE(GIORNO.SETTIMANA(H7;2)>5;ORARIO(18;30;0);SE(RESTO(H7;1)>ORARIO(18;30;0);ORARIO(18;30;0);(MIN(RESTO(H7;1);ORARIO(18;30;0)))))-ORARIO(14;0;0))*(RESTO(H7;1)>ORARIO(14;0;0))*24
=arrotonda(Formuletta;3)
=(INT(B2)-INT(A2)-1)*(18-8)/24+RESTO(B2;1)-RESTO(A2;1)
Anthony47 ha scritto:Ciao Sandroduk77 e benvenuto nel forum.
Una formula semplificata e' questa:Data /ora di inizio sono scritti in A2; data /ora di fine sono scritti in B2; con l' ipotesi che ora di inizio sia superiore a 8:00 e ora di fine sia max 18:00, cioe' comprese nell' orario di servizio. La formula calcola la durata del servizio (o disservizio...)
- Codice: Seleziona tutto
=(INT(B2)-INT(A2)-1)*(18-8)/24+RESTO(B2;1)-RESTO(A2;1)
Ciao.
Torna a Applicazioni Office Windows
Excel: formula automatica per evidenziare prodotto scaduto Autore: gamma_ray |
Forum: Applicazioni Office Windows Risposte: 3 |
Salvare file excel in formato html escludendo le immagini Autore: systemcrack |
Forum: Applicazioni Office Windows Risposte: 5 |
formula excel non visualizza risultato Autore: tommasog |
Forum: Applicazioni Office Windows Risposte: 6 |
Excel 2016 - Funzione SCARTO + INDIRETTO Autore: pl1957 |
Forum: Applicazioni Office Windows Risposte: 2 |
Visitano il forum: Nessuno e 44 ospiti