Déclaration d'une colonne de durée

Bonjour,

Je débute et je voudrais déclarer une colonne dont le contenu est des durées en heures et minutes (hh:mm).
Je n’ai trouvé que le format date et heure mais lorsque j’importe mes données, la colonne est en rouge… Et je ne peux pas faire de table de synthèse avec des sommes sur ces durées.

Quelqu’un(e) a une idée ? D’avance merci
Jean-Paul L.

Hi @Jean-Paul_L !

You will need a formula column to convert the duration to some amount of time, either seconds or minutes. I used seconds for my example. Then, when you create a summary table, it will sum this amount of time which can then be converted back to hh:mm format.

Example here: Community #9504 - Grist

I have a table with durations in the format hh:mm and a formula column that converts this to Seconds. Note that Seconds is a Numeric column.


I used the AI Assistant to generate this formula

Then, I created a summary table based on the same underlying data. It summarizes the Seconds column. I used the AI Assistant again to convert this back to hh:mm format.


You can hide the Seconds columns from both tables. These are essentially helper columns to calculate the total time and display it in your desired format. These will continue to work behind the scenes when hidden from the view.

You’ll be able to import your duration values and everything will calculate automatically.

Thanks,
Natalie

Bonjour Nathalie,
C’est une belle solution de contournement. Je suis surpris que la notion de temps (durée et non pas date) ne soit pas native.
Je débute, j’aime bien le concept…
Cordialement
Jean-Paul