Help

Re: Pulling only the most recent date when a record has multiple dates linked to it

Solved
Jump to Solution
1314 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Jeff_Doehler
4 - Data Explorer
4 - Data Explorer

I have contact records in my primary tab (we’re using Airtable as a CRM) where the contact’s Full Name is the main record. Then in another tab, we’re logging interactions with the contacts, and have a column that links to the contact record in the primary tab.

In our primary tab, we have a column “Follow Up Date” that looks at the interactions in the other tab and grabs the follow up dates from each interaction with that contact (also from the column “Follow Up Date”). Ideally though, we only want it to grab the most recent date. If you see in my below examples, the contact Brian has 2 dates in his follow up column. This is because there are 2 interactions linked to his contact, both of which have a follow up date. However, the only date we need is the June 3rd one, since it’s the most recent. Is there any way to add this as a condition? I’m not seeing it. Thanks!

Tab 1
image

Tab 2
image

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

Instead of using a lookup field, use a rollup field.

In the rollup, for the earliest date, use the MIN(values) function in the rollup. For the latest date, use the MAX(values) function.

For the earliest date that is still in the future, use a conditional rollup. Set the condition to rollup only records where the {Follow Up Date} field is on or after today, and set the aggregation formula to MIN(values).


If this answers your question, please mark this post as the solution. Otherwise, could you please give a bit more details?

See Solution in Thread

2 Replies 2
kuovonne
18 - Pluto
18 - Pluto

Instead of using a lookup field, use a rollup field.

In the rollup, for the earliest date, use the MIN(values) function in the rollup. For the latest date, use the MAX(values) function.

For the earliest date that is still in the future, use a conditional rollup. Set the condition to rollup only records where the {Follow Up Date} field is on or after today, and set the aggregation formula to MIN(values).


If this answers your question, please mark this post as the solution. Otherwise, could you please give a bit more details?

ArielK
4 - Data Explorer
4 - Data Explorer

I have a similar set up with my airtable (also for a crm). I am curious of the best way to link the multiple meetings with each contact to their primary contact so John Doe has one record on the contact tab, but 5 records on the meetings tab. How do I link those 5 records to the one main record?