Help

Re: Only show the first value in the lookup field

1402 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Aaron_Schiff1
4 - Data Explorer
4 - Data Explorer

Hello,

In my base, one table has 2 records each. Currnetly, i do a lookup and it shows me both records. I only want the first to show up because it just doubles the name twice. How can I make it so that when i lookup from that table, only the first (or last) record shows vs having both.

3 Replies 3

Try using a rollup instead of a lookup, and use this formula.

ARRAYUNIQUE(values)

B111
5 - Automation Enthusiast
5 - Automation Enthusiast

This answers the technical issue but not the question in the title. How would airtable users create a calculation that only shows the first value in a lookup field? i.e., Is there a way to return value[0] of a lookup array?

This worked for me, using a formula field:

IF(
FIND(",", {LookupField}) > 0,
LEFT({LookupField}, FIND(",", {LookupField}) - 1),
{LookupField}
)