May 30, 2022 08:17 AM
Hello there,
I’m trying to use automation for a particular case, with no luck so far, so I’m looking for some help here finally.
I have several choices for a field, let’s say CompanyA, CompanyB, CompanyC. Now I’ve got another field, providing an URL, which is different for each A,B,C company (so 3 different URLs in this example).
Now if I work on a particular record / line of my base, I’d like the URL cell to be automatically changed with a defined value depending on the company I choose in the Companies field. If I choose Company A, then the URL cell will automatically get the URL - A value, and so on.
Any idea on how to achieve this, please ?
Thanks in advance,
Regards.
Solved! Go to Solution.
May 30, 2022 12:27 PM
Hi @Nicolas_Caplat!
You don’t actually need automations for this, though I’m sure someone else can help you with how that is done if that is something you are dead set on.
There’s two ways of doing this without automations.
SWITCH({Company select field},
'Company A','email@companya.com',
'Company B','email@companyb.com',
'Company C','email@companyc.com'
)
May 30, 2022 12:27 PM
Hi @Nicolas_Caplat!
You don’t actually need automations for this, though I’m sure someone else can help you with how that is done if that is something you are dead set on.
There’s two ways of doing this without automations.
SWITCH({Company select field},
'Company A','email@companya.com',
'Company B','email@companyb.com',
'Company C','email@companyc.com'
)
May 30, 2022 04:22 PM
Formulas also work in a multiple-user environment as well. A formula doesn’t require a single-user environment. You were simply making a suggestion here. (One that is well-founded.)
So, as you already mentioned, a formula is not really the ideal approach here.
@Nicolas_Caplat Since you are new to Airtable, I would highly recommend taking my free Airtable training course which covers linked record fields and lookup fields:
May 30, 2022 04:40 PM
Correct! I only meant it as advice, things to take into account when choosing method. Both work.
For those learning; “hard coding” things work when you are the one building and using the base. More users open up for people questioning where info comes from, how to add to it, how to update it and in a work place it’s not ideal to have just one person know where everything is “under the hood”. It’s all doable, just not adviceable.
May 31, 2022 02:16 AM
Good morning all :slightly_smiling_face:
Wow, thanks A LOT @momentsgoneby80 and @ScottWorld ! I’ve got many things to work on today, but I’ll try to setup this certainly tomorrow morning. Seems very interesting !!
Thank you very much for your precious help, much appreciated.
Regards.
May 31, 2022 08:24 AM
Thanks again, guys, LookUp Fields is exactly what I need !
Cheers :slightly_smiling_face: