I have managed to get it to work based on a page I found on the community pages (see attached photo) - but i have to hardcode what i want to check the lifecycle type against.
I want to make the formula as reusable as possible, and was thinking of adding the entity table ids against the lifecycle types, in the hope it can reference these for the lookup tables. I was wondering if anyone has experience of this or if its even possible? Any suggests or feedback would be very welcome
Hi Emma, as far as I know (and someone can correct me) there is no way currently in Coda to dynamically create table references (by id or name or whatever) — except through switch statements like you have already done. So you have to hardcode it into the formula. But, if it makes it nicer, you could put that switch statement into a separate named formula, or even into a table from which you could do a lookup on.
However, if you were to share your doc, or a dummy copy sample, we would love to see what else we can do to help. I have a feeling a schema change might be what you are looking for.