Jan 18, 2021 12:38 PM
I’m trying to use data from a lookup field in a formula and keep getting #ERROR!.
The formula (below) works with a plain text field created to test, but not the lookup field.
IF({CITIZEN SLACKIDS}=BLANK(),’’,
‘<@’ & SUBSTITUTE(VALUE({CITIZEN SLACKIDS}),’, ', ‘>, <@’) & ‘>’)
I’ve tried wrapping the lookup field in VALUE ()
to no avail.
Solved! Go to Solution.
Jan 18, 2021 10:16 PM
Hmmm… that’s a bit tricky, because those commas don’t really exist in your lookup field. Your lookup field is an array that Airtable is visually separating with commas.
I’m sure there are probably several different ways to solve this dilemma, but here’s one way that you can do it:
In your OTHER table (not this table), create a formula field which is this:
"<@" & CITIZEN SLACKIDS & ">"
Then, back in THIS table, change your lookup field to lookup that formula field instead.
Jan 18, 2021 10:16 PM
Hmmm… that’s a bit tricky, because those commas don’t really exist in your lookup field. Your lookup field is an array that Airtable is visually separating with commas.
I’m sure there are probably several different ways to solve this dilemma, but here’s one way that you can do it:
In your OTHER table (not this table), create a formula field which is this:
"<@" & CITIZEN SLACKIDS & ">"
Then, back in THIS table, change your lookup field to lookup that formula field instead.
Jan 19, 2021 11:43 AM
Thank you, Scott!
Your lookup field is an array that Airtable is visually separating with commas.
SUPER helpful to know, for this and other bits.
Created the formula in the other table as recommended and got the desired result (below). It’s a bit clunky by a necessity I now understand much better. Thank you!
Jan 19, 2021 11:51 AM
Fantastic! Glad I could help! :slightly_smiling_face: