Problema nel confrontare e sottrarre durate (oltre le 24 ore) in Numbers

Buongiorno a tutti!

Sto cercando di calcolare le ore eccedenti rispetto alle 24 ore da una somma di durate presente nella cella J6. La cella J6 contiene il risultato di una formula SOMMA(F6:F12), e sia J6 che le celle da F6 a F12 sono formattate come Durata.

Nella cella I6, ho provato a utilizzare la seguente formula:

=SE(J6>DURATA(24;0;0);J6−DURATA(24;0;0);DURATA(0;0;0))

Il problema è che questa formula restituisce sempre "00:00:00", anche quando il valore visualizzato in J6 è chiaramente superiore a 24 ore (ad esempio, "30:30:00"). Questo suggerisce che la condizione J6>DURATA(24;0;0) sta sempre valutando come FALSO.

Ho verificato che:

  • Sia J6 che le celle da F6 a F12 sono formattate come Durata.
  • Il valore visualizzato in J6 è effettivamente superiore a 24 ore.

Sembra che ci sia un problema specifico nel modo in cui Numbers confronta una durata risultante da una somma con una durata creata tramite la funzione DURATA. Ho anche provato diverse varianti della formula, inclusi tentativi di convertire le durate in valori numerici o stringhe per il confronto, ma ho sempre riscontrato errori o risultati errati.

Qualcuno ha riscontrato un problema simile nel confrontare e sottrarre durate che superano le 24 ore in Numbers? C'è un modo specifico per gestire questo tipo di calcolo in Numbers che sto trascurando?

Qualsiasi suggerimento o indicazione sarebbe molto apprezzato.

Grazie mille per l'aiuto!

MacBook Pro 13″, macOS 15.5

Posted on May 18, 2025 3:49 AM

Reply
Question marked as Top-ranking reply

Posted on May 18, 2025 4:25 AM

DURATION(24;0;0) is not 24 hours, it is 24 weeks. DURATION(0;0;24) is 24 hours. Or can be written as DURATION(;;24)


DURATA(24;0;0) non è 24 ore, ma 24 settimane. DURATA(0;0;24) è 24 ore. Oppure può essere scritto come DURATA(;;24)

3 replies

May 18, 2025 8:18 PM in response to urten

Keep in mind that if find the DURATION equation confusing you can use duration shorthand.


In Italian:

To subtract a day you can use -1g.

A week is 1sett.


Equivalent in English:


-1d

A week is 1w


Italian machine translation:


Tieni presente che se trovi l'equazione di DURATA confusa puoi usare la scorciatoia di durata.


In italiano:


Per sottrarre un giorno puoi usare -1g.


Una settimana è 1 sett.


Equivalente in inglese:


-1d


Una settimana è 1w


SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Problema nel confrontare e sottrarre durate (oltre le 24 ore) in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.