Convert appointment dates to days until last appointment

I have two tables.

Table 1: Client
Table 2: Appointments

Each appointment is tied to a client. I’m looking to see how many days from the client’s last appointment.

E.g. the client’s has 3 appointments however his last appointment was 1/1/2020 then the cell would display ‘14’ since that was 14 days ago.

Any ideas?

1 Like

Edit: Nevermind - what you’re requesting is possible via roll-up fields.

Clients
Names (single line text)
Aaron Schiff

Appointments (linked records)
11/14/00,11/13/00,11/14/01,11/12/02

Last Appointment (roll-up)
11/12/02
Settings: Sort by 'max' on date field in Appointments

Time Since Last Appointment (formula)
6272
DATETIME_DIFF( TODAY(), {Date}, 'days' )

Appointments
Date (date field)
11/14/00
11/13/00
11/14/01
11/12/02

Awesome, works great, thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.