Sitemap

Member-only story

How to Coda breaks between periods?

when your tasks have overlap and you need periods

5 min readJan 29, 2023

--

In the community I contributed by partly responding to:

I have tasks with start and end time. I would like to have a canvas formula that displays Time left.

How do I subtract that time so that 1 minute of real time can only count as one minute, instead of 2, if for example there are 2 tasks running at the same time?

In this blog I deal with one aspect of this question: getting the periods and their duration uniquely based on start & end time. The translation to the canvas and the countdown I put aside here.

We start simple and look at a period without breaks. To solve this matter we first need to know the total duration of the consecutive tasks. We first create a list of unique time start & end times and we order them. We asks for all items in the list and thus we use thisTable

step 01 — list of unique values

Based on this list we ask for the duration of each period:

--

--

Christiaan Huizer
Christiaan Huizer

Written by Christiaan Huizer

I write every week about how to Coda . You find blogs for beginners and experienced makers. Until 7 days after publication you read my blog for free. Welcome!

No responses yet