Skip to content
Spreadsheets

Your spreadsheet is already an application. Here is how to tell.

Nobody decides to build an application in Excel. It happens one tab at a time. These are the six signs it already has.

By the Tavuni team5 min read

Nobody decides to build an application in Excel. A pricing sheet gets a second tab for discounts. Someone adds a lookup for tax rates, then a column called Approved by, then protects a few cells so nobody overwrites the formulas. Three years later the workbook is the system the business runs on, and nobody can remember the day it became one.

How it happens#

Spreadsheets are the best tool ever made for working out how something should be done. You can see every number, change a rule and watch the result move, and you do not need anyone’s permission to start. That is exactly why so much business logic lives in them: it was worked out there first, and it worked.

Every step that follows is reasonable on its own. A second tab keeps the rates apart from the orders. A lookup saves typing the same rate twice. A status column saves an email. The trouble is not any one of those steps. It is that the file quietly stops being a document and starts being software, and because nobody noticed the moment, it never gets the things software gets: access control, a history of changes, a way to test that the answers are still right, and a deliberate way to change the rules.

The question is not whether your spreadsheet is an application. It is whether it is being treated like one.

Six signs it already is one#

None of these is a problem on its own. Each is a job the workbook has taken on without the tools for it.

1. More than one person types into it, and there are rules about where

“Sales fill in columns A to F, finance does the rest.” That is access control, enforced by good manners. It works until a new joiner sorts the sheet, or someone pastes over a formula they could not see.

2. A column records a decision

Status, Approved by, Date signed off. The moment a column records who decided what, the workbook is running a workflow, and the record of that workflow is one keystroke away from being changed after the fact.

3. A formula looks something up in another tab

A VLOOKUP from the orders tab into a customers tab is a relationship between two kinds of record. It has all the problems a database solves (a customer renamed in one place and not the other, a lookup that silently returns the wrong row) and none of the protection.

4. There is a copy called “final v3 (2)”

Version control by file name. Somebody knows which copy is the real one. The question is what happens on the day they are on holiday.

5. Its answers are checked by hand before they leave the building

If someone re-adds a total on a calculator before an invoice goes out, the business has already decided the workbook cannot be fully trusted. That instinct is right, and it is also the most expensive possible form of testing.

6. Only one person really understands it

The rules exist, but only as formulas in cells, explained in nobody’s words. The logic is real and correct; it is also undocumented, untested and held in one head.

What not to do#

The usual response is to rebuild: describe the process to a developer or a low-code tool, re-create the screens, re-type the formulas, test a handful of orders and switch over. It is usually the screens that get rebuilt well. The numbers are where it goes wrong.

A rebuild from memory loses the edge cases that took years to put into the workbook: the freight minimum that only applies under a certain subtotal, the customer tier that overrides the standard discount, the rounding that finance agreed with the auditors. A spot check of ten orders will rarely include them, because the ten orders people choose are the ones they understand.

The result is a new system that looks finished and produces slightly different totals, and an organisation that no longer knows which number to believe.

What to do instead#

Treat the workbook as what it already is: the most complete specification of the process you will ever have.

  1. Read the rules out of it rather than re-typing them. Every formula is a rule with its inputs named by position. Translate the positions into the things they mean (an order’s subtotal, a customer’s tier) and the rules are written down for the first time. How to read a workbook as a graph goes through this.
  2. Name the things, not the cells. Rows in a table are records; columns are fields; lookups are relationships. Once those have names, access, history and validation have something to attach to.
  3. Keep the workbook’s own answers as the test. Excel stores the result of every formula when the file is saved. That is an answer key you did not have to write. Recompute everything in the new system and compare every value with it, not ten. The method is here.
  4. Move one process first. Pick the one with the decisions column: approvals are where the workbook is weakest and a system is strongest.
  5. Decide how rules change from now on. A draft, a look at what it would affect, a person who publishes it. Saving the file should stop being the same thing as changing the business.

This is the approach Tavuni is built around: it reads a workbook’s formulas into named rules, proposes the records behind them for a person to correct, and checks every value against what the workbook stored. You can watch it do that on an example operations workbook at /try, without an account.

Written by the Tavuni team. Where an example uses Tavuni’s own output, the numbers come from the example workbook at /try and were computed when this page was built. Corrections are welcome: tell us.

All articles

Try the idea on a real workbook.

The live verification reads an example operations workbook in your browser, compiles its rules and checks every value. No account, nothing uploaded.