In LISP, there’s a function called COND(). I’m wondering if Monday has something similar, because I’m getting buried in nested IF() statements. Here’s how it works…
The closest are the SWITCH() and the undocumented CHOOSE() functions (see more here: https://themondayman.com/hidden/). But, there are other ways to deal with situations like that.
For one way to deal with these, you can check out this video starting at about 21:50
Hovering over the red error icon will give you some “why”.
Some monday functions always work in lower case, some never, some sometimes… always safest to use upper case on all e.g.: IF() not if().
Best to always include all three segments of IF()… IF(condition, if-true, if-false). IF(1=2,0) returns a boolean “true” . IF(1=2,0) + 0 returns an error. (this is the problem with dura-both… number + 0 + true = error)