13. Examples
X-Sheets ships with six ready-made public examples — complete, realistic databases you can open and explore before building your own. Each one is available in English and French, and each was designed to showcase a different set of X-Sheets features, from a minimal two-sheet tracker to a full field-service CRM.
Beyond their features, the examples show what X-Sheets is in practice (see When to choose X-Sheets):
- Offline. Each example is stored on your device: browse and edit it without a network connection; your changes are synchronized when you are back online.
- A hybrid spreadsheet. Each example is both a spreadsheet — a grid for fast bulk editing — and a small database — sheets linked by references, browsed through lists and forms.
- Customizable. A copy of an example is yours to adapt: rename or add columns, change their types, adjust the views, filters, forms, expressions and actions until it fits your own activity.
How to open them. On the main screen, while no spreadsheet is open, tap Browse the examples: the chooser opens on the Public filter (see Getting Started). Public examples open in read-only mode — make a copy to edit the data or the configuration and use it as a starting point for your own spreadsheet.
The examples below are ordered from the simplest to the most advanced.
13.1 Home Delivery
A personal tracker for home deliveries: the shops you order from, and each order with its delivery details. The smallest example — two sheets and one reference — and the best place to start.
Delivery → Shop
What it illustrates:
- Reference column — each delivery belongs to a shop, picked from a dropdown.
- Done marker — the Delivery time date column doubles as the ✓ marker: one tap records that the order was delivered.
- Quick actions — call or text the shop, and open the delivery address in the maps app.
- Aggregate formulas — per shop: number of deliveries (
COUNT), total spent (SUM), last order date (MAX). - Picture column — a proof-of-delivery photo on each order.
13.2 Gym Teacher — Class Register
A PE teacher managing classrooms of pupils, the physical tests they take, and each pupil’s result — with a scanned score sheet attached to every result.
Student → Classroom
Test → Classroom
Result → Student, Test
Evaluation document → Result
What it illustrates:
- Junction sheet — a Result links a student to a test, carrying its own data (score, comment).
- Reference constraints — a result’s Student and Test pickers filter each other: pick a student and only that classroom’s tests are offered.
- Composite unique constraint — at most one result per student per test; duplicates are rejected.
- Computed averages — average score per student and per test, guarded with
IF(COUNT(...) > 0, ...). - Picture columns — a photo (illustrated avatar) per student, and a score-sheet image per evaluation document.
- Mandatory fields — a result cannot be saved without its score.
- Quick actions — call, text, or email a pupil’s guardian.
13.3 Home Nursing
A solo home-care nurse managing patients, their prescriptions, visits, and payment schedules — a working example of a small business run entirely from a phone.
Prescription → Patient
Visit → Patient, Payment
Payment → Patient
What it illustrates:
- Date arithmetic — a visit’s end time is computed:
Visit date + Duration / 1440. - Filtered views — Next visits (
End >= NOW()) and Payments due (paid date empty) keep today’s work on top. - Conditional aggregation — a patient’s outstanding balance sums only the visits whose payment is still unpaid, reaching two levels down (
SUM(#Visit.Amount, ...)). - Done marker — the payment’s Paid date doubles as the ✓ marker for settled payments.
- Quick actions — call or text a patient, and open their home address in the maps app for the route.
- Picture column — the patient’s insurance card, photographed once and always at hand.
13.4 Real Estate — Property Sales
A real-estate agency selling properties: the portfolio with its photo galleries, the clients, and every visit and offer that follows.
Photo → Property
Visit → Property, Client
Offer → Property, Client (buyer), Client (co-buyer)
What it illustrates:
- Dropdown lists via lookup sheets — categorical fields (property type and status, visit status, offer status) are small referenced sheets, so the picker is a validated dropdown and an in-use value cannot be deleted.
- Photo gallery — each property has a child Photo sheet; every picture is synchronized for offline use in the field.
- Composite unique constraint — one offer per client per property.
- Two references to the same sheet — an offer has both a buyer and an optional co-buyer, both pointing at Client.
- Filtered views — Next visits (
Date >= NOW()). - Aggregate formulas — per property: photos, visits, offers, and the best offer (
MAX). - Quick actions — call, text, or email a client; open a property’s address in the maps app.
13.5 CRM — Field Service
A field-service CRM: customers and their contacts, a product catalog, the installed base (units installed at customer sites), and the history of services performed on each unit. The most complete example. To see it in use — several roles, several devices, a technician offline in a basement — read A Day at FieldServ Solutions.
Contact → Customer
Sitemap → Customer
Location → Sitemap
Installed product → Customer, Product, Contact, Location
Prestation → Installed product, Technician
What it illustrates:
- Deep parent hierarchy — services belong to installed units, which belong to customers; the customer of a service is derived, never re-entered.
- Multi-level aggregation — a customer’s service count, revenue, and last-service date are computed two relation hops away:
SUM(#Installed#Prestation.Amount). - Reference constraints — on an installed unit, the Contact picker only offers the selected customer’s contacts.
- Linkable references — on a contact’s form, existing installed units can be linked and detached instead of created and deleted.
- Filtered views — Under warranty (
Warranty end >= NOW()). - Document column — each product carries its notice as a PDF.
- Position on a picture — each customer has one or two sitemaps (floor plans). An installed unit’s Location field opens the plan: named, coloured locations are drawn on it (a rack, the boiler room…), added, moved or renamed right there, and Save & select puts the unit at one of them. Several units can share a location; the locations are stored in their own sheet but never shown as a list.
- Lookup sheets — product category, unit status, and prestation type are validated dropdowns.
- Quick actions — call, text, or email a contact; open a customer’s address in the maps app.
13.6 Construction Site — Snag List
The snag list of a construction site before handover: every defect noticed on the site, placed on one of the project’s plans, photographed, assigned to the contractor of the right trade with an action to implement and a due date, then closed with a validation date.
Situation map → Project
Location → Situation map
Snag → Project, Location, Trade, Contractor, Priority
Snag picture → Snag
What it illustrates:
- Automatic numbering — the snag’s Number is a numbered text column (prefix
SN, 3 digits): each new snag opens with the next number (SN-001,SN-002…) and a duplicate is refused. - Done marker — the snag’s Validation date is the sheet’s done column: a check mark closes the snag and stamps the date.
- Position on a picture — each project has one or two situation maps (floor plans). A snag’s Location field opens one: named locations (a kitchen, a stairwell…) are drawn on the plan and the snag is placed at one of them; several snags can share a location.
- Several reference constraints on one sheet — a snag belongs to a project; its Location field only offers that project’s situation maps, two references away (Location → Situation map → Project).
- Main picture and photo gallery — a main picture on the snag itself, and as many secondary pictures as needed (a detail, a close-up…) in a child Snag picture sheet, edited from the snag’s form.
- Conditional aggregates — per project, contractor and trade: open snags (
COUNT(#Snag.Number, NOT(HASVALUE(#Snag.Validation date)))) and overdue snags. - Filtered views — Open snags and Overdue snags (
NOT(HASVALUE(Validation date)) AND Due date < NOW()). - Lookup sheets — trade and priority are validated dropdowns.
- Quick actions — call, text, or email a contractor; open a project’s address in the maps app.
13.7 Which example should I look at?
| If you want to see… | Open |
|---|---|
| The basics: references, done marker, actions, first formulas | Home delivery |
| Junction sheets, unique constraints, pictures and attachments | Gym teacher — Class register |
| Dates, filtered views, conditional totals — running a small business | Home nursing |
| Dropdown lookup sheets, photo galleries, offline media | Real estate — Property sales |
| Deep hierarchies, multi-level formulas, linkable references | CRM — Field service |
| Defects placed on a plan, done marker, main picture plus gallery, open/overdue counts | Construction site — Snag list |