I'm trying to migrate some data I have in Google Sheets, to Airtable.
I have a table, which is full of reservations/bookings. Each booking has a checkin and checkout date, and is allocated to a property. A booking also has a Status.
I would like for each row (booking) to also have a field, Next Booking Reference. In Google Sheets, I had a formula which could find the Booking Reference, for the next booking after this one. I've created this shared view to serve as an example:
https://airtable.com/appV8ivwvEiMnsmNf/shrUwgmVMY4O41Ki0
In this example, Booking 1 (Karl), the Next Booking Reference would be Booking 9 (George).
The conditions for this are:
- Booking has the closest greater checkin date to current record's checkin.
- Booking is not cancelled OR black
- Booking has the same property as current record.
Is anything like this possible with Airtable?
Regards,
Karl
