Data Modeling in NocoBase for Excel/AppSheet Users: Tables, Fields, 1–N and N–N Relationships
by BAMFLOW • • 5 min read • Updated 28 Nov 2026
NocoBase data modeling for Excel/AppSheet users: how to create NocoBase tables, split fields and link 1–N and N–N relationships the right way from day one.
Data Modeling in NocoBase for Excel/AppSheet Users: Tables, Fields, 1–N and N–N Relationships
In short: NocoBase data modeling means rethinking your data before you create a NocoBase table: each group of information becomes its own table, connected by 1–N and N–N relationships — instead of copying one giant Excel sheet into your system.
If you use Excel or AppSheet, the hard part of NocoBase is not clicking buttons; it is unlearning the one-flat-surface habit. Copy an Excel sales file's structure into a system and you import Excel's limits: repeated data, half-forgotten edits, and simple questions that still need manual counting.
The root mistake: copying your Excel structure into the system
The common mistake is creating one table called “Sales data” and moving every Excel column into it. First, information repeats: a customer's name, phone and address are typed on every order row — as an illustrative example, a customer buying 40 times a year has their details in 40 rows, so a phone change means 40 edits. Second, one cell holds many meanings: “T-shirt size L – blue – 2 pcs” cannot be filtered by size. Third, history gets overwritten: raising a price quietly changes old orders when totals are recalculated. Drop “one table holds everything”: each group of information gets its own table, connected by relationships.
Tables, fields and relationships in NocoBase data modeling: the orders – customers – products example
There are only three concepts. A table (Collection) is a group of information with its own lifecycle: Customers exist independently, each Order is its own event, each Product has its own code and price. A field is a column with discipline: when you create a NocoBase table, each field has a proper type — text, number, money, date, select list, or relationship field — so input is validated. A relationship is how tables talk: Orders point to exactly one Customers record, so a phone number is edited once, while the sold price stays in Order Details.
Your single sheet becomes four tables: Customers (name, phone, address — stored once), Products (code, name, unit, price), Orders (date, Customer relationship, status, total), Order Details (relationships, quantity, price at sale, line total). Memory line: a table is a noun, a field its property, a relationship the verb — a Customer has many Orders.
1–N and N–N relationships through two operational examples
Example 1 — 1–N in sales: one customer has many orders. One Customer connects to many Orders; each Order belongs to one Customer. Create the relationship field on the Orders side, and NocoBase shows the reverse order list inside the customer record. As an illustrative example, a customer with 46 orders in a year shows all 46 when you open their record — no VLOOKUP needed.
Example 2 — N–N: many-to-many needs a junction table. One Order contains many Products; one Product appears in many Orders. The mistake is stuffing a product list into a text field on Orders. Instead, build a junction table — Order Details — where each row links one order to one product and carries data belonging to the link: quantity, price at time of sale, discount. Training centres show the same shape: Students attend many Classes, Classes have many Students, and Enrolment is the junction carrying registration date, tuition fee and status. In an illustrative example, a class of 18 mixes discounted and paused enrolments — data belonging to the junction, not to Students or Classes. All figures are illustrative.
Exercise: split your inventory Excel file into a table diagram in 15 minutes before creating NocoBase tables
Work on paper first. Minutes 0–3, underline every noun: Products, Suppliers, Warehouses, Stock Vouchers — each is a candidate table; vouchers get their own table as documents with an approval status. Minutes 3–7, assign fields, remove repetition: code and unit belong to Products only; supplier phone belongs to Suppliers; quantities belong to voucher lines. Anything typed repeatedly sits in the wrong table. Minutes 7–12, draw relationships, find the junction: one Supplier has many Products (1–N); one Voucher has many Detail lines (1–N); Details link vouchers to products, carrying quantity and price. Minutes 12–15, check: Is anything still repeated? If a product is renamed, is there exactly one place to edit? Do old prices stay fixed? If all pass, the diagram is ready — also the opening content of BAMFLOW's AI Builder course.
When the diagram is right, the interface becomes easy
Interfaces are generated from the data model: Customers produce the list and record form, the 1–N relationship shows orders inside the customer page, a status field becomes filters and a Kanban basis. You never draw data twice — see one data table, five NocoBase interfaces and What is NocoBase?. A wrong diagram makes screens awkward: endless forms, reports exported back to Excel, tangled permissions. Correct diagram first, interfaces second, AI on top.
About BAMFLOW — BAMFLOW is an official NocoBase partner in Vietnam, specialising in AppSheet, NocoBase and AI implementation and training for businesses (300+ applications, 150+ business clients, 1000+ learners).
- Want to build your own system? Register for the NocoBase AI Builder course (12 sessions) — build a real system on your own data, starting with data modeling.
- Want BAMFLOW to design your data model and implement quickly? Message BAMFLOW via bamflow.vn.