Anyone who has ever managed memberships in a spreadsheet knows the routine: open the file, scroll through every row, and manually check each join date against today's date to figure out who's about to expire. Miss one row, and a member's access quietly lapses without anyone noticing until they complain.
In this tutorial, we'll build a Membership Expiry Alert system — a table that automatically flags each member as "Active," "Expiring Soon," or "Expired," based on their join date and membership duration. No manual checking, no forgotten renewals.
Start by creating a table to hold your membership records.
Click the add table button in the sidebar to create a new table
Name the new table Member
Add the basic fields you'd expect for a membership record: Name, Phone, Join Date, and Duration (in days).
Click the schema button to quickly add new columns to the Member table
Member table with Name, Phone, Join Date, and Duration fields added
For the Join Date field, choose the Date data type. For Duration, use Number and treat it as the number of days the membership lasts (for example, 30 for a monthly plan, 365 for an annual one).
Before we can flag anything, we need to know exactly when each membership expires. Rather than asking members to calculate this themselves, let's have the system do it.
Add a new column and choose Custom Logic as the data type.
Add a new column and select Custom Logic as the data type
Describe what you want in plain language: add the Duration (in days) to the Join Date to calculate the Expiry Date.
Describe the logic in plain sentence, for example add Duration days to Join Date to get Expiry Date
The system will show a clarification step to confirm your intention matches what it's about to build.
Clarification screen showing the system's interpretation of the expiry date calculation
Click Save to confirm.
Now for the actual alert. Add another Custom Logic column, this time describing the flagging rule: if the Expiry Date has already passed, mark it as "Expired"; if it falls within the next 7 days, mark it as "Expiring Soon"; otherwise, mark it as "Active."
Add another Custom Logic column and describe the flagging rule comparing Expiry Date to today
Confirm the clarification screen once the system interprets your description.
Clarification screen confirming the conditional logic for Active, Expiring Soon, and Expired statuses
Click Save.
Let's test it. Add a handful of member records with different join dates and durations, so you can see all three statuses in action.
Click the add record button to create a new member entry
placeholder-11.png
Add a few more records:
Today is 20 August 2026
Member table showing multiple records with different Join Date and Duration values
Once saved, look at the Status column — every row already shows the correct flag, calculated the moment the data was entered.
Member table displaying the Status column with Active, Expiring Soon, and Expired labels filled in automatically
Knowing the status of every member is useful, but what you really want day-to-day is a quick list of who needs attention right now. Let's build a saved view for that.
Create a new view on the Member table, and add a filter where Status equals "Expiring Soon" or "Expired."
Create a new filtered view and set the condition where Status equals Expiring Soon or Expired
Save the view with a clear name, like "Needs Renewal."
Saved view named Needs Renewal showing only members flagged as Expiring Soon or Expired
Say a member renews their membership. Update their Join Date to reflect the new renewal date.
Updated Join Date from 20/06/2026 -> 22/08/2026
Editing a member's Join Date field to reflect a new renewal
The Expiry Date and Status fields recalculate instantly — no need to touch either of them manually.
Flag changes from Expired -> Active
Member record showing updated Expiry Date and Status after the Join Date was changed
Across these steps, you created:
This pattern — combining a calculated date field with conditional flagging — applies well beyond memberships. The same approach works for subscription renewals, contract expirations, warranty tracking, or any scenario where "how much time is left" matters.
Coba Langsung
Halaman ini
Artikel terkait
Jelajahi lebih banyak artikel produk dan praktik terbaik untuk tim yang membangun dengan Ambisius.
Masih Pakai Spreadsheet?
Wajib Coba Ini.
Ubah spreadsheet yang biasa digunakan menjadi sistem terstruktur yang dibangun untuk bisnis Anda
Tanpa komitmen. Tanpa kartu kredit.

© 2026 Ambisius. Seluruh hak cipta dilindungi.