Coda planning with intervals

Dealing with irregular intervals in our planning

Christiaan Huizer

--

In my blog on how to get a notification on a due date, I used a column representing the Day() value as interval. Although this works for small and regular day related issues, it does not handle well more demanding use case.

In this blog I replace the column only storing day values — you see below — with a lookup.

static approach dealing with days as column value

The dynamic lookup approach you find below is also more ‘Coda correct’, the choice is row based and not column dependent.

dynamic scheduling

The Next Date

One way to get the next date, is the way shown below. We work with date properties and add the frequency to the property we are dealing with. It is good to follow, but a bit long.

the lenghty SwitchIf approach based on the date properties

You can write the above code shorter by making use of an inherent assumption in the Coda Formula Language: you can add days directly to a date. This results in the logic below.

th shorter SwitchIf version

The Lookup

Although for many readers it might look evident that when you can reproduce one of the above formulas, you master the most important part of this puzzle. That is mistaken. The set up of the tables that support the above logic is in my eyes way more important:

define the intervals

You define the units to use in the interval and the frequency. Here is it all about the concept. It is rather easy, certainly when you get it presented, but the dynamics you generate with it, are mind blowing. The moment you select for example ‘repeats every week’, you get the date a week after today without great effort. And you do not need a pack, which I also consider as an important plus.

In case you have a worker working every 3th week on Monday while every other day working Tuesday — Friday, you can plan that with this approach. I’ll write about this in an other blog.

I hope you enjoyed this article. If you have questions feel free to reach out. Though this article is for free, my work (including advice) won’t be, but there is always room for a chat to see what can be done. Besides you find my (for free) contributions to the Coda Community and on Twitter.

My name is Christiaan and I support SMB with calculations (budgets and planning) and I prefer using Coda to get the job done.

Coda comes with a set of building blocks ー like pages for infinite depth, tables that talk to each other, and buttons that take action inside or outside your doc ーso anyone can make a doc as powerful as an app (source).

Not to forget: the Coda Community provides great insights for free once you add a sample doc.

Christiaan — Coda Expert — on: “Coda Planning with Intervals”

If you enjoyed this read and would like to get more Coda related content, please consider a Medium membership. It is it only $5 a month, and you’ll have access to every article ever published on Medium. If you sign up using my referral link, I’ll earn a small commission.

--

--

Christiaan Huizer
Christiaan Huizer

Written by Christiaan Huizer

I write about how to Coda . You find blogs for beginners and experienced makers. I publish about 1 / week. Welcome!

No responses yet