The History of the Spreadsheet

•18 min read•

The History of the Spreadsheet

The electronic spreadsheet is one of the most consequential software applications in the history of computing. Originally conceived as a digital replacement for the paper ledgers of accountants, the spreadsheet evolved into a foundational tool of the global economy. By transforming the static grid of rows and columns into an interactive matrix of mathematical relationships, early spreadsheet software provided the primary economic justification for the adoption of personal computers in the corporate sector. Today, the spreadsheet is the world's most widely used programming language, utilized by hundreds of millions of people for data analysis, financial modeling, and application development.

The conceptual leap from paper to digital required overcoming significant technical constraints, including limited memory, slow processors, and the absence of graphical user interfaces. Early pioneers developed algorithms for natural order recalculation and forward referencing on mainframe computers before the microcomputer hardware of the late 1970s brought the grid to the desktop. The commercial battles that followed defined the software industry, establishing the concept of the killer application and shaping modern software copyright law.

As computing shifted from isolated desktop machines to networked, cloud based environments, the spreadsheet adapted. The introduction of real time collaborative editing required complex distributed systems algorithms, allowing multiple users to edit a single document simultaneously without data corruption. In the modern era, the integration of functional programming paradigms and advanced data types has expanded the spreadsheet far beyond its accounting origins, cementing its status as a Turing complete computational platform. However, the ubiquity of the spreadsheet has also introduced profound systemic risks, as undocumented formula errors have caused massive financial losses and influenced global macroeconomic policy.

The Pre-Electronic Era and Mainframe Origins

Before the advent of computers, a spread sheet was a large piece of physical paper used by accountants to examine business transactions. The term itself originated from the practice of spreading costs and income across two facing pages of a bound ledger book. These physical ledgers were highly susceptible to cascading errors. If a single variable changed, such as a tax rate or a material cost, an accountant had to manually erase and recalculate every dependent figure in the grid. This tedious process severely limited the ability of businesses to perform complex forecasting or scenario planning.

The first theoretical step toward digitizing this process occurred in 1961 when Richard Mattessich, a professor at the University of California, Berkeley, published the paper "Budgeting Models and System Simulation"[1] in The Accounting Review. Mattessich outlined the concept of using a computer to simulate a firm's budget using matrices and calculation rules for each cell. He later implemented a prototype in FORTRAN IV on a mainframe computer, detailed in his 1964 book "Simulation of the Firm Through a Budget Computer Program". The program was written by his research assistants Tom C. Schneider and Paul A. Zitlau, proving that a computer could automate the recalculation of a financial matrix. Mattessich focused on academic and theoretical models, demonstrating that analytical accounting could be translated into mathematical logic executed by a machine.

While Mattessich established the academic foundation, the first commercial electronic spreadsheet was developed in 1969 by Rene Pardo and Remy Landau. Working as recent graduates, they observed that managers at Bell Canada and AT&T relied on programmers to update budgeting forms, a process that took months due to the complexity of forms containing up to 2000 cells. In response, Pardo and Landau created LANPAR[2] (LANguage for Programming Arrays at Random). LANPAR allowed users to type forms in any order and introduced the concepts of forward referencing and natural order calculation. Rather than calculating cells strictly from top to bottom or left to right, LANPAR analyzed the dependencies between cells and calculated them in the correct mathematical sequence.

LANPAR was written in FORTRAN, coded on punch tapes, and ran on General Electric GE-400 time sharing systems and Honeywell 6000 series mainframes. It was adopted by Bell Canada, AT&T, and General Motors. In 1970, Pardo and Landau filed a United States patent for their natural order calculation algorithm. The patent office initially rejected the application, classifying it as a purely mathematical invention. Following twelve years of litigation, the inventors appealed to the Court of Customs and Patent Appeals, which overturned the rejection. Pardo and Landau were finally granted U.S. Patent 4,398,249[3] in 1983, establishing a legal precedent that software algorithms could be patented if they produced a useful and tangible result. Despite its technical achievements, LANPAR remained a mainframe tool, inaccessible to the general public.

VisiCalc and the Microcomputer Revolution

The transition of the spreadsheet from the mainframe to the personal computer occurred in 1979 with the release of VisiCalc. In 1978, Harvard Business School student Dan Bricklin was tasked with analyzing a corporate case study. Faced with the choice of calculating the matrix by hand or using a cumbersome mainframe program, Bricklin watched his professor erase and recalculate a matrix on a blackboard. Bricklin envisioned an electronic blackboard where changing one number would automatically update all related figures. He partnered with Bob Frankston, a programmer with experience at the Massachusetts Institute of Technology, to build the software.

Bricklin and Frankston formed Software Arts and developed VisiCalc (Visible Calculator) specifically for the Apple II microcomputer. The technical constraints were severe. The Apple II featured a MOS Technology 6502 microprocessor and a maximum of 64 kilobytes of random access memory, though VisiCalc was designed to run on systems with just 32 kilobytes. Frankston wrote the program in 6502 assembly language to maximize performance and minimize memory usage, packing the entire application code into a mere 20 kilobytes of machine memory. Because the Apple II only supported a 40 column text display, users could only view a few columns at a time, requiring Frankston to implement a scrolling mechanism. VisiCalc introduced the A1 notation system, labeling columns with letters and rows with numbers, a standard that persists today.

Published by Personal Software, a company founded by Dan Fylstra, in late 1979 for 100 dollars, VisiCalc became an immediate commercial success. It sold over 100,000 copies in its first year. It is widely recognized as the first killer application for personal computers. Prior to VisiCalc, microcomputers were largely viewed as hobbyist toys. VisiCalc provided a compelling business justification for purchasing an Apple II, driving hardware sales and establishing the microcomputer as a legitimate corporate tool. Accountants and financial analysts were willing to spend thousands of dollars on an Apple II computer and disk drives solely to run a 100 dollar piece of software. The program was so influential that a copy is held in the collection of the Smithsonian National Museum of American History[4].

To allow users to export their grid data to other programs, Bricklin and Frankston also created the Data Interchange Format[5] (DIF) in 1980. DIF was an ASCII text file specification that stored spreadsheet contents in a standardized format, mitigating cross platform compatibility issues. It became one of the earliest interoperability standards for personal computers, allowing data to flow between VisiCalc and other early business applications.

The success of VisiCalc spawned immediate competition. Because VisiCalc was initially exclusive to the Apple II, a void existed in the broader microcomputer market, particularly for machines running the CP/M operating system. In 1980, Sorcim Corporation, founded by Richard Frank[6], released SuperCalc[7]. SuperCalc was bundled with the Osborne 1, the first commercially successful portable computer, alongside the word processor WordStar. SuperCalc improved upon VisiCalc by introducing the ability to iteratively solve circular references, where cells depend on each other's results. This feature was implemented when Sorcim transitioned its math package from binary coded decimal to binary math, requiring iterative calculations to resolve precision differences in conditional statements. Later versions, such as SuperCalc 4, dropped copy protection entirely to compete aggressively in the corporate market.

The IBM PC and the Dominance of Lotus 1-2-3

In August 1981, IBM introduced the IBM Personal Computer, fundamentally altering the hardware market. While VisiCalc was ported to the IBM PC, it was a direct translation of the 8 bit Apple II version and failed to take advantage of the PC's 16 bit Intel 8088 processor, 256 kilobytes of memory, and Color Graphics Adapter.

Mitch Kapor, a former product manager at Personal Software, recognized this opportunity. Partnering with programmer Jonathan Sachs, Kapor founded Lotus Development Corporation[8] and released Lotus 1-2-3[9] in January 1983. Sachs wrote Lotus 1-2-3 entirely in x86 assembly language, optimizing it specifically for the IBM PC hardware. This resulted in calculation speeds that vastly outperformed VisiCalc. The software was named "1-2-3" because it integrated three distinct functions: a spreadsheet, a database management program, and a charting tool. Users could press a single key to instantly generate a bar chart from their grid data.

Lotus 1-2-3 bypassed the standard MS-DOS text output functions, writing directly to the IBM PC's video memory to achieve rapid screen updates. This hardware specific optimization made Lotus 1-2-3 incredibly fast but also meant it would only run on strict IBM PC compatibles, inadvertently driving the market for 100 percent IBM compatible machines like the Compaq Portable. Lotus 1-2-3 quickly became the new killer application for the IBM PC, generating 53 million dollars in sales in its first year and effectively rendering VisiCalc obsolete. Its macro system, which allowed users to record keystrokes and write branching logic, became the most popular application development language of the era. Users could create custom menus and automate complex accounting workflows, embedding entire software applications within the spreadsheet.

The dominance of Lotus 1-2-3 eventually led to a landmark legal battle that shaped modern software copyright law. In 1990, Lotus sued Borland International, arguing that Borland's Quattro Pro spreadsheet infringed on Lotus's copyright by copying the Lotus 1-2-3 menu command hierarchy. Borland had included the Lotus menu structure to allow users to run their existing Lotus macros without modification. In the case Lotus Development Corp. v. Borland International, Inc.[10], the United States Court of Appeals for the First Circuit ruled in 1995 that the menu command hierarchy was an uncopyrightable "method of operation" under Section 102(b) of the Copyright Act. The court compared the menu hierarchy to the buttons on a video cassette recorder, stating that users must be able to operate the machine without being locked into a single manufacturer's interface. The Supreme Court affirmed the decision in 1996 with a 4 to 4 tie, establishing a critical precedent that functional interfaces and command structures could not be copyrighted.

During the early 1980s, Microsoft attempted to capture the spreadsheet market with Multiplan[11], released in 1982. Directed by Charles Simonyi and programmed by Doug Klunder, Multiplan was designed with a portability strategy. It was written using a proprietary p-code C compiler developed by Richard Brodie. The p-code architecture compiled the spreadsheet logic into an intermediate bytecode, which was then executed by a small native interpreter on the target machine. This allowed Microsoft to port the software to over 100 different platforms, including CP/M, MS-DOS, Xenix, and the TRS-80. Multiplan also introduced the R1C1 addressing system, where both rows and columns are numbered. However, the p-code abstraction layer made Multiplan slower than the hardware optimized Lotus 1-2-3 on the IBM PC. Despite selling over a million copies, Multiplan failed to unseat Lotus 1-2-3 in the corporate MS-DOS market.

The GUI Transition and the Rise of Excel

Realizing that Multiplan could not defeat Lotus 1-2-3 on MS-DOS, Microsoft shifted its focus to the emerging graphical user interface. In 1984, Microsoft released a version of Multiplan for the newly launched Apple Macintosh, but quickly followed it with a completely new spreadsheet program designed specifically for the GUI environment.

On September 30, 1985, Microsoft released Excel 1.0[12] exclusively for the Macintosh. Taking advantage of the Motorola 68000 processor and 512 kilobytes of RAM, Excel utilized the Macintosh's mouse driven interface, pull down menus, and bitmapped graphics, offering a stark contrast to the text based interface of Lotus 1-2-3. Excel also introduced a computational optimization known as intelligent recalculation. Unlike earlier spreadsheets that recalculated every cell when a single value changed, Excel maintained a dependency graph and used a topological sort algorithm to identify and update only the specific cells affected by the modified data. This drastically improved performance on complex models.

Microsoft released Excel 2.0 for Windows in November 1987, bundled with a runtime version of the Windows environment. Because Lotus Development Corporation was slow to transition from MS-DOS to Windows, focusing instead on IBM's OS/2 operating system, Microsoft Excel[13] gained a massive first mover advantage in the Windows ecosystem. By the early 1990s, as Windows 3.0 and Windows 3.1 achieved widespread adoption, Excel became the dominant spreadsheet application in the global market. Microsoft solidified this lead with the release of Excel 95, which transitioned the software to a 32 bit architecture, significantly increasing its memory capacity and calculation speed.

The release of Excel 5.0 in 1993 marked another major milestone with the introduction of Visual Basic for Applications. VBA was a full featured object oriented programming language integrated directly into the spreadsheet. It allowed users to write complex macros, automate repetitive tasks, and create custom user interfaces. VBA transformed Excel from a simple calculation grid into a powerful application development platform, enabling businesses to build bespoke software solutions without hiring professional software engineers. This extensibility cemented Excel's monopoly in the corporate sector for the next two decades.

Web, Cloud, and Collaborative Spreadsheets

As internet connectivity became ubiquitous in the 2000s, the software industry shifted toward web based applications. The traditional model of saving a spreadsheet file to a local hard drive and emailing it to colleagues created version control problems, often resulting in multiple conflicting copies of the same document.

The solution emerged with the development of cloud based spreadsheets, most notably Google Sheets, which launched in 2006. Google Sheets allowed users to store their data on remote servers and access the grid through a web browser. The most significant technical achievement of Google Sheets was real time collaborative editing, which allowed multiple users to type in the same spreadsheet simultaneously.

Implementing real time collaboration required solving complex computer science problems related to distributed systems and concurrency control. If two users attempted to edit the same cell at the exact same millisecond, the server needed a mathematical method to resolve the conflict without corrupting the document. In addition, if one user inserted a new row at the top of the sheet while another user was typing in a cell at the bottom, the system had to ensure the second user's text was placed in the correct shifted location. To achieve this, cloud spreadsheets utilized Operational Transformation algorithms. Pioneered in the late 1980s by researchers such as Clarence "Skip" Ellis at the Microelectronics and Computer Technology Corporation (MCC), Operational Transformation works by transforming concurrent operations against each other. When a client sends an edit to the server, the server adjusts the operation based on any other edits that have occurred in the interim, ensuring that all clients eventually reach a consistent state. This algorithm allowed Google Sheets to provide a fluid, lock free editing experience.

Microsoft responded to the competitive threat of Google Sheets by developing Excel Online, part of the Office 365 suite. Excel Online brought the familiar Excel interface and calculation engine to the web browser, incorporating its own co-authoring technologies to allow simultaneous editing. The transition to the cloud fundamentally changed how organizations managed data, shifting the spreadsheet from a solitary desktop tool to a shared digital workspace.

The Modern Era: Functional Paradigms and Turing Completeness

In recent years, the spreadsheet has undergone a theoretical evolution, embracing concepts from functional programming. For decades, the formula language used in Excel was highly constrained. Users could perform complex mathematical operations, but they could not easily define their own reusable functions without resorting to imperative languages like VBA or JavaScript.

This limitation was resolved through a collaboration between the Excel product team and researchers at Microsoft Research Cambridge, including computer scientists Simon Peyton Jones and Andy Gordon. Peyton Jones, a lead designer of the Haskell programming language, recognized that Excel was already a purely functional language, as formulas take inputs and return outputs without mutating the underlying state. However, it lacked the ability to pass functions as arguments or create recursive logic.

In late 2020, Microsoft introduced the LAMBDA function to Excel. Based on Alonzo Church's lambda calculus from the 1930s, the LAMBDA function allowed users to define custom, reusable functions using the standard Excel formula language. Because LAMBDA functions can call other LAMBDA functions, and even call themselves recursively, the introduction of this feature represented a qualitative shift in the software's capabilities. With LAMBDA, the Excel formula language officially became Turing complete, meaning it can theoretically compute any computable algorithm.

Alongside LAMBDA, modern spreadsheets have introduced dynamic arrays, allowing a single formula to spill its results across multiple adjacent cells automatically. The ecosystem has also expanded to include native integration with other programming languages. In 2023, Microsoft announced the integration of Python into Excel, allowing data scientists to run Python scripts directly within the grid to perform advanced machine learning and data visualization tasks. These advancements have elevated the spreadsheet from a simple financial calculator to a highly sophisticated programming environment, bridging the gap between end user computing and professional software engineering.

Spreadsheet Risks and Governance

The sheer ubiquity and flexibility of the spreadsheet have also introduced profound systemic risks. Because spreadsheets allow users to build complex financial models without formal software engineering training, they often lack standard quality controls such as automated testing, version history, and peer review. A single mistyped formula or hidden row can cascade through a model, producing catastrophic real world consequences.

The European Spreadsheet Risks Interest Group[14], known as EuSpRIG, was founded in 1999 to study these vulnerabilities. EuSpRIG maintains a public database of spreadsheet horror stories, documenting incidents where uncontrolled spreadsheet use resulted in massive financial losses, data breaches, and corporate bankruptcies. Their research highlights that spreadsheet risk is not merely a problem of incorrect mathematics, but a failure of corporate governance and operational infrastructure.

One of the most famous spreadsheet errors in academic history occurred in a highly influential 2010 economics paper by Carmen Reinhart and Kenneth Rogoff. The paper argued that economic growth plummeted when a country's public debt exceeded 90 percent of its gross domestic product. This conclusion was widely cited by politicians to justify severe economic austerity measures in Europe and the United States following the 2008 financial crisis. In 2013, researchers Thomas Herndon, Michael Ash, and Robert Pollin at the University of Massachusetts Amherst attempted to replicate the findings. They discovered that Reinhart and Rogoff had made a simple Excel error[15]. The economists had accidentally omitted five countries from their average calculation because they failed to highlight the entire column in their AVERAGE formula. When the missing data was included, the severe economic decline disappeared entirely.

An even more costly error occurred in 2012 at JPMorgan Chase, culminating in the "London Whale" trading disaster. The bank's Chief Investment Office relied on a Value at Risk model built entirely in Excel to monitor the risk of a massive synthetic credit portfolio. The spreadsheet required traders to manually copy and paste data between files. During a critical update to the model, an employee made a mathematical error, dividing a hazard rate by a sum instead of an average. This Excel error artificially halved the perceived volatility of the portfolio, giving traders a false sense of security. The flawed model contributed to a series of aggressive trades that ultimately cost JPMorgan Chase 6.2 billion dollars in losses and resulted in severe regulatory fines.

Even public health infrastructure has fallen victim to spreadsheet limitations. During the COVID-19 pandemic in 2020, Public Health England used an automated process that imported laboratory test results into a legacy XLS file format. Because the older XLS format was hardcoded with a strict limit of 65,536 rows, the spreadsheet simply stopped recording new data once the limit was reached. This architectural oversight caused nearly 16,000 positive coronavirus cases to be dropped from the national tracking system, delaying contact tracing efforts for thousands of exposed individuals.

These incidents demonstrate the dual nature of the spreadsheet. It is an instrument of unparalleled accessibility and power, capable of democratizing data analysis for millions of users. Yet, when deployed as critical infrastructure without rigorous oversight, the grid can silently amplify human error on a global scale. From the mainframe algorithms of LANPAR to the Turing complete functional programming of modern Excel, the history of the spreadsheet is a reflection of the broader evolution of computing, balancing the tension between user freedom and systemic reliability.

Sources (15)
  1. "Budgeting Models and System Simulation"
  2. LANPAR
  3. U.S. Patent 4,398,249
  4. americanhistory.si.edu: Smithsonian National Museum of American History
  5. Wikipedia: Data Interchange Format
  6. Computer History Museum
  7. Wikipedia: SuperCalc
  8. Computer History Museum
  9. Wikipedia: Lotus 1-2-3
  10. Wikipedia: Lotus Development Corp. v. Borland International, Inc.
  11. Wikipedia: Multiplan
  12. Excel 1.0
  13. Wikipedia: Microsoft Excel
  14. European Spreadsheet Risks Interest Group
  15. simple Excel error