Organisation Name English (primary field, single line text)
Coordinating Partner (Link to table: Projects)
Projects
Project Acronym (primary field, single line text)
Coordinating Partner Organisation (Link to table: Organisations)
This is what I would like to achieve:
Create a new field in Contacts that looks up Projects / Project Acronym, but only for projects linked in Contacts / Projects.
The formula needs to be something like that:
If Contacts / Projects is not empty, look up Projects / Coordinating Partner Organisation. If Projects / Coordinating Partner Organisation equals Contacts / Organisation, list Projects / Project Acronym.
Is this something that can be done with a Baserow formula?
I think if the Projects field in the Contacts table is empty, then any lookup will return blank.
Therefore that condition is built in, you don’t have to recreate it.
So for the rest, we can do a formula field:
If there is only ever 1 linked project:
if( lookup(‘Projects’,‘Coordinating Partner Organisation’) = field(‘Organisation’) , lookup(‘Projects’,‘Project Acronym’) )
If there could be multiple linked projects:
filter( lookup(‘Projects’,‘Project Acronym’) , lookup(‘Projects’,‘Coordinating Partner Organisation’) = field(‘Organisation’) )
I haven’t tested these, so they might need tweaking.
Yeah, I get that.
My journey has been Excel to ClickUp to Baserow. So actually compared to non-spreadsheet implementations of formulas, I think Baserow’s is pretty great.
And combined with the relational function, it can do lookups more reliably than a spreadsheet.