Engineering Blog · Product Engineering
From Excel to Application: Understanding Business Structure Before Generating CRUD
Generating forms is easy. Recovering the business system hidden in a spreadsheet is the real engineering task.
Three spreadsheets are not three unrelated pages
Customers.xlsx Orders.xlsx Payments.xlsx
Customer ID Order ID Payment ID
Name Customer ID Order ID
City Order Date Amount
Sales Person Amount / Status Payment Date
Customer → Orders → PaymentsA naive generator creates three CRUD pages. A useful system recognizes the master-detail chain and the business operations it supports.
A spreadsheet is often an informal application
Teams encode a data model, workflow, validation, calculations, reporting, and business rules in sheets. Migrating them is not simple format conversion; it is recovery of implicit structure, including exceptions that live only in formulas and conventions.
Understand structure and relationships
Types, identifiers, repeated values, and references can suggest how records relate, but names alone are not enough. Proposed structure should be validated against representative data and business intent before it becomes application behaviour.
Classify entities by their role
Master entities, transactions, lookup tables, events, and calculated views need different interfaces and lifecycle rules. Customer is typically a master; Order and Payment are transactions; Order Status may be a lookup. This classification shapes navigation, permissions, and reporting.
Formulas express business intent
Spreadsheet formulas may represent calculations, status rules, or exceptions. Their business meaning should be confirmed rather than blindly translated, because a formula may also encode workarounds or assumptions that should not survive migration.
Understand the business model before generating
Spreadsheet / Database
↓
Structure Understanding
↓
Business Semantics
↓
Application GenerationThis conceptual model deliberately separates understanding from generation. The internal representation and generation mechanics are implementation concerns, not prerequisites for evaluating the engineering principle.
CRUD is only the foundation
Useful applications also need relationships, search, filters, validation, roles, master-detail views, computed fields, workflow, reports, and dashboards. This is why product engineering starts from business behaviour rather than generated screens.
Use AI selectively
AI may assist where terminology or intent is ambiguous. Clearly specified types, constraints, and calculations should remain explainable and testable. The same boundary applies in hybrid AI systems.
Failure modes and production considerations
- Assuming labels fully express business meaning.
- Losing identifier formatting during conversion.
- Missing hidden content or manual workflow steps.
- Carrying ambiguous calculations forward without validation.
- Generating permissions from guesswork rather than business ownership.
Ambiguities should remain visible for approval, and generated behaviour should be reconciled against representative source data and expected outcomes.
Conclusion
The hard part of turning Excel into an application is not generating the screens. The hard part is understanding the business system already hidden inside the spreadsheet. The structured-data discipline used in AI pipelines applies here too.