# 电子表格

电子表格是一种交互式计算机应用，它以二维的单元格网格来组织数据；每个单元格可以存放数字、文本，或引用其他单元格的公式，而只要某个输入发生变化，程序就会自动重算所有依赖它的单元格。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup> 电子表格是世界上最广泛使用的编程系统之一，对许多人来说，它就是首选的编程语言——尽管用户通常把自己的活动描述为“写公式”或“搭模型”，而不是编程。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 首个商用电子表格 | LANPAR，1969 年由勒内·帕尔多（Rene Pardo）和雷米·兰多（Remy Landau）为贝尔加拿大和美国电话电报公司的预算表格开发<sup>[3](https://www.historyofinformation.com/detail.php?id=5478)</sup> |
| 首个个人计算机电子表格 | VisiCalc，1979 年由丹·布里克林（Dan Bricklin）和鲍勃·弗兰克斯顿（Bob Frankston）为 Apple II 开发<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup><sup> • </sup><sup>[4](https://www.computerhistory.org/timeline/1979/)</sup> |
| 核心模型 | 以 A1、B2 等方式编址的单元格网格；单元格存放数字、文本或引用其他单元格的公式，依赖单元格会自动重算<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup> |
| 使用规模 | 仅美国估计就有 1100 万终端用户程序员，而专业程序员为 275 万<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup> |
| 错误率 | 一项针对 50 个实际使用中的电子表格的研究发现，视错误的定义方式而定，全部公式单元格中有 0.8% 至 1.8% 存在错误<sup>[5](https://arxiv.org/abs/0801.0715)</sup> |
| 错误影响 | 在对 25 个实际使用中的电子表格的审计中，381 个潜在错误里有 117 个得到确认，其中 70 个产生了非零的量化影响，最大的错误达 1 亿美元<sup>[6](https://www.sciencedirect.com/science/article/pii/S0167923609000335)</sup> |
| 主导产品 | Microsoft Excel，2025 年迎来 40 周年，至今仍是市场领导者<sup>[7](https://www.techradar.com/pro/microsoft-excel-turned-40-and-almost-nobody-noticed-worlds-most-popular-spreadsheet-now-faces-tough-competition-from-google-sheets-after-crushing-lotus-1-2-3-and-borland-quattro-pro)</sup> |

## 基本概念

所有电子表格程序都共享同一套视觉模型：一个二维的单元格网格。列用字母标注，从 A、B 一直到 Z，再到 AA 及更后；行用数字标注；矩形区域用其角点坐标来指称，例如 B2:C4。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup> 一个公式可以包含常量、算术运算符、SUM 之类的函数，而最重要的是对其他单元格或单元格区域的引用。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup>

**引用与重算。** 公式中的引用可以是相对引用，如 C2；绝对引用，如 $B$5；或混合引用，如 B$5。当公式被复制时，这一区别就变得重要：绝对引用保持固定，相对引用则按复制的距离平移。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup> 只要某个单元格的内容被编辑，所有直接或间接依赖它的单元格都会被重算。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup> 为了高效地做到这一点，Excel 会创建并维护一种名为“计算链”（Calculation Chain）的数据结构，用来跟踪工作簿中所有公式的计算顺序，并把它的状态随文件一同保存，这样每次加载时重算就不必从头开始。<sup>[8](https://support.microsoft.com/en-gb/excel/excel-calculation-chain-metadata)</sup>

**编址方案。** 大多数系统支持按行、列位置编址的 A1 式，按行号、列号编址的 R1C1 式，以及命名编址——给单元格起一个唯一的名字，用它来代替坐标。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup> Excel 2007 中的一张工作表最多可容纳 1,048,576 行、16,384 列。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup> [Google Sheets](https://www.edgepedia.org/zh/google-sheets) API 以编程方式暴露了同样的概念，既有 Sheet1!A1:B2 这样的 A1 记法，也有用于相对引用的 R1C1 记法。<sup>[9](https://developers.google.com/workspace/sheets/api/guides/concepts)</sup>

## 历史

把会计的账簿——那个由行与列构成的二维网格——自动化的想法，早于个人计算机出现。1969 年，加拿大人勒内·帕尔多和雷米·兰多开发了 LANPAR（LANguage for Programming Arrays at Random，随机数组编程语言），这是首个商用电子表格，其诞生正是为了应对[贝尔加拿大](https://www.edgepedia.org/zh/bell-canada)和美国电话电报公司在修改预算表格中 2000 个单元格时面临的难题。LANPAR 引入了前向引用和自然顺序重算，并被卖给了贝尔加拿大、美国电话电报公司及其下属运营电话公司，以及[通用汽车](https://www.edgepedia.org/zh/general-motors)。<sup>[3](https://www.historyofinformation.com/detail.php?id=5478)</sup>

**VisiCalc。** 首个个人计算机电子表格 VisiCalc 于 1979 年 5 月推出，由哈佛商学院 MBA 在读生[丹·布里克林](https://www.edgepedia.org/zh/dan-bricklin)和程序员[鲍勃·弗兰克斯顿](https://www.edgepedia.org/zh/bob-frankston)为 Apple II 开发。<sup>[10](https://wrap.warwick.ac.uk/id/eprint/31463/)</sup><sup> • </sup><sup>[4](https://www.computerhistory.org/timeline/1979/)</sup> 它把电子表格的重算自动化了，让用户得以就自己的财务信息追问“如果……会怎样？”，也带动了 Apple II 的销量。<sup>[4](https://www.computerhistory.org/timeline/1979/)</sup> 布里克林认为，VisiCalc 之所以特别，在于它把所见即所得（WYSIWYG）的交互性、即时的自动重算，以及“按示例编程”的界面结合在了一起——在那种界面里，键入的第一个字符就决定了内容会被如何解释。<sup>[11](https://bricklin.com/firstspreadsheetquestion.htm)</sup> 第一个完整打包的 VisiCalc 于 1979 年 10 月 19 日发货。<sup>[12](https://www.bricklin.com/history/saiproduct1_m.htm)</sup>

**Lotus 1-2-3 与 Excel。** 在[米奇·卡普尔](https://www.edgepedia.org/zh/mitch-kapor)（Mitch Kapor）做出进一步的设计贡献、并将其移植到 IBM PC 之后，后继产品 [Lotus 1-2-3](https://www.edgepedia.org/zh/lotus-1-2-3) 很快超越了 VisiCalc，成为那款把微型计算机从爱好者的书桌带进主流商用的杀手级应用。<sup>[13](https://hci.stanford.edu/publications/bds/11p-spreadsheet.html)</sup> 在 Lotus 1-2-3 推出宏之类的功能——让用户得以自动化重复性任务——之后，VisiCalc 早年的成功便逐渐消退。<sup>[7](https://www.techradar.com/pro/microsoft-excel-turned-40-and-almost-nobody-noticed-worlds-most-popular-spreadsheet-now-faces-tough-competition-from-google-sheets-after-crushing-lotus-1-2-3-and-borland-quattro-pro)</sup> 在接下来的十年里，电子表格从简单的计算辅助工具演变为现代商业不可或缺的工具，经由从 VisiCalc 到 Lotus 1-2-3 再到 [Microsoft Excel](https://www.edgepedia.org/zh/microsoft-excel) 的演进，被数千万几乎没有或完全没有直接计算机经验的人所使用。<sup>[10](https://wrap.warwick.ac.uk/id/eprint/31463/)</sup> Excel 沿用了 1-2-3 的许多惯例，而 1-2-3 当初又是主动沿用了 VisiCalc 的惯例。<sup>[11](https://bricklin.com/firstspreadsheetquestion.htm)</sup>

## 作为编程的电子表格

尽管电子表格传统上不被视为编程语言，但电子表格编程本质上是一阶函数式编程：把单元格以文本形式打印出来，例如 A1 = 3、A2 = A1 − 32，明白无误地就得到一个程序。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup> 用户可以在毫无编程训练的情况下起步，在一列里输入数值再把它们求和，此时电子表格就已经成了一个程序，而且即便工作尚未完成或含有错误，系统也会持续给出反馈。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup>

这种易用性是有代价的。电子表格系统的灵活性使得创建错误的电子表格、或把错误引入已有的电子表格都变得很容易；研究还表明，终端用户会不断搭建更复杂的电子表格，典型的企业电子表格每三年其规模与公式内容就翻一番。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup> 当用户遇到自己不理解的故障时，有时会用预期的常量值覆盖掉单元格里的公式，这解决了眼前的问题，却损害了可维护性并引入错误。<sup>[2](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)</sup>

## 错误与质量保证

关于电子表格错误的研究数量可观，其核心发现也相当一致：电子表格错误既常见，又绝非无关紧要。<sup>[14](https://arxiv.org/abs/0802.3457)</sup> 据多项研究，大约 90% 至 95% 的电子表格含有错误。<sup>[15](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2021/EECS-2021-145.pdf)</sup> 检测很困难：在检查实验中，单个检查者只查出了其所检查电子表格中 34% 至 69% 的错误。<sup>[16](https://panko.com/ssr/Audits.html)</sup>

**量化影响。** [塔克商学院](https://www.edgepedia.org/zh/tuck-school-of-business)（Tuck School of Business）的斯蒂芬·G·鲍威尔（Stephen G. Powell）、巴里·劳森（Barry Lawson）和肯尼思·R·贝克（Kenneth R. Baker）开展的一项研究，审计了来自五家机构的 25 个实际使用中的电子表格，与电子表格的开发者逐一确认了每个潜在错误，并测量了其对输出的影响。在 381 个潜在错误中，有 117 个（31%）得到确认；已确认的错误中有 47 个（40%）对结果没有量化影响；在其余 70 个中，最大的错误达 1 亿美元，而 25 个电子表格中有 9 个完全没有错误。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0167923609000335)</sup> 早先一项针对 50 个实际使用中的电子表格的研究发现，视错误的定义方式而定，全部公式单元格中有 0.8% 至 1.8% 存在错误。<sup>[5](https://arxiv.org/abs/0801.0715)</sup> 在 2003 年的访谈中，专业电子表格审计师告诉雷·潘科（Ray Panko）——这位夏威夷大学的研究者运营着“电子表格研究”网站——大约 5% 的电子表格存在严重错误。<sup>[17](https://mba.tuck.dartmouth.edu/spreadsheet/product_pubs_files/literature.pdf)</sup>

**自动化质量保证。** 一项覆盖 35.5 年期刊文献（1987 年 1 月至 2022 年 6 月）的综述，把自动化电子表格质量保证的方法分为可视化、静态分析与质量报告、测试、自动化故障定位与修复、模型驱动开发，以及设计与维护支持。<sup>[18](https://www.sciencedirect.com/science/article/pii/S0164121214000788)</sup> 该综述的两大发现是：电子表格质量最好在整个电子表格生命周期上加以处理，而不是只在少数几个阶段；并且，涉及测试与调试的研究相对多于涉及规格说明、建模与设计的研究，因此需要对生命周期早期阶段做更多研究。<sup>[19](https://link.springer.com/article/10.1007/s11704-023-2384-6)</sup> 静态分析工具已经成熟：ExceLint 是一款旨在找出电子表格公式错误的静态分析工具，它处理了一个含 70 个电子表格的语料库，中位耗时为每个电子表格 5 秒，显著超越了此前的最先进水平。<sup>[20](https://arxiv.org/abs/1901.11100)</sup>

## 当前格局

Microsoft Excel 于 2025 年迎来 40 周年，至今仍是市场领导者，它先后取代了 Lotus 1-2-3 和 Borland Quattro Pro，如今则面临来自 Google Sheets 的竞争。<sup>[7](https://www.techradar.com/pro/microsoft-excel-turned-40-and-almost-nobody-noticed-worlds-most-popular-spreadsheet-now-faces-tough-competition-from-google-sheets-after-crushing-lotus-1-2-3-and-borland-quattro-pro)</sup> 自由及开源的选择包括 [LibreOffice](https://www.edgepedia.org/zh/libreoffice) Calc 和 Gnumeric。<sup>[1](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)</sup>

**AI 辅助。** 各大厂商都在为自家的电子表格产品添加 AI 功能。从 2026 年 6 月起，Google Sheets 中的 Gemini 可以分析电子表格周边的数据结构，找出公式错误背后的逻辑或语法故障，并就地修复该公式。<sup>[21](https://workspace.google.com/blog/product-announcements/june-2026-workspace-feature-drop)</sup> Excel 则添加了由 Copilot 驱动的功能，包括智能体模式（Agent Mode）和 AI 编写的公式。<sup>[22](https://www.youtube.com/watch?v=a2_zMywcqbQ)</sup> LibreOffice 项目采取了相反的立场，[文档基金会](https://www.edgepedia.org/zh/the-document-foundation)在 LibreOffice 26.8 发布后确认：“如今没有 AI 本身就是一项特性。”<sup>[23](https://www.techradar.com/pro/libreoffice-says-it-will-not-add-ai-features-to-document-editor-for-the-foreseeable-future)</sup>

**单元格架构。** 2026 年 9 月，Excel 推出了自发布以来对其单元格模型最大的改动之一：单元格现在可以容纳多个值，包括列表、单元格内的数组以及嵌套数组，因此单个单元格可以包含一个以逗号分隔的列表，而其中的各项在筛选和计算时仍保持彼此独立。<sup>[24](https://www.techradar.com/pro/microsoft-excel-gurus-your-prayers-have-been-answered-more-than-one-value-can-now-be-in-a-single-cell-as-a-new-era-of-spreadsheets-dawns)</sup>

## References

1. [Spreadsheet Technology, IT University of Copenhagen technical report](https://en.itu.dk/-/media/EN/Research/About-ITU-Research/Technical-Reports/2011/ITUTR2011142pdf.pdf)
2. [Robin Abraham, Margaret Burnett, Martin Erwig. Spreadsheet Programming](https://web.engr.oregonstate.edu/~erwig/papers/SpreadsheetProgramming_ECSE09.pdf)
3. [Rene Pardo & Remy Landau Introduce LANPAR, the First Commercial Electronic Spreadsheet, History of Information](https://www.historyofinformation.com/detail.php?id=5478)
4. [1979 Timeline of Computer History, Computer History Museum](https://www.computerhistory.org/timeline/1979/)
5. [Stephen G. Powell, Barry Lawson, Kenneth R. Baker. Impact of Errors in Operational Spreadsheets, arXiv](https://arxiv.org/abs/0801.0715)
6. [Impact of errors in operational spreadsheets, Decision Support Systems 47(2), 2009](https://www.sciencedirect.com/science/article/pii/S0167923609000335)
7. [Microsoft Excel turned 40 and almost nobody noticed, TechRadar](https://www.techradar.com/pro/microsoft-excel-turned-40-and-almost-nobody-noticed-worlds-most-popular-spreadsheet-now-faces-tough-competition-from-google-sheets-after-crushing-lotus-1-2-3-and-borland-quattro-pro)
8. [Excel Calculation Chain Metadata, Microsoft Support](https://support.microsoft.com/en-gb/excel/excel-calculation-chain-metadata)
9. [Google Sheets API Overview, Google for Developers](https://developers.google.com/workspace/sheets/api/guides/concepts)
10. [Martin Campbell-Kelly. Number crunching without programming: the evolution of spreadsheet usability, IEEE Annals of the History of Computing 29(3), 2007](https://wrap.warwick.ac.uk/id/eprint/31463/)
11. [Dan Bricklin. Was VisiCalc the "first" spreadsheet?](https://bricklin.com/firstspreadsheetquestion.htm)
12. [VisiCalc history: first packaging and shipment, bricklin.com](https://www.bricklin.com/history/saiproduct1_m.htm)
13. [Bringing Design to Software, Profile 11: the spreadsheet, Stanford HCI](https://hci.stanford.edu/publications/bds/11p-spreadsheet.html)
14. [Ray Panko. Spreadsheet Errors: What We Know. What We Think We Can Do, arXiv](https://arxiv.org/abs/0802.3457)
15. [Empirical Data on Spreadsheet Errors, UC Berkeley EECS Technical Report EECS-2021-145](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2021/EECS-2021-145.pdf)
16. [Audits of Operational Spreadsheets, Ray Panko's Spreadsheet Research website](https://panko.com/ssr/Audits.html)
17. [A critical review of the literature on spreadsheet errors, Tuck School of Business](https://mba.tuck.dartmouth.edu/spreadsheet/product_pubs_files/literature.pdf)
18. [Avoiding, finding and fixing spreadsheet errors: a survey of automated approaches for spreadsheet QA, Journal of Systems and Software](https://www.sciencedirect.com/science/article/pii/S0164121214000788)
19. [Spreadsheet quality assurance: a literature review, Frontiers of Computer Science](https://link.springer.com/article/10.1007/s11704-023-2384-6)
20. [ExceLint: Automatically Finding Spreadsheet Formula Errors, arXiv](https://arxiv.org/abs/1901.11100)
21. [June 2026 Workspace Drops: AI updates for Drive, Sheets, & Gmail, Google Workspace Blog](https://workspace.google.com/blog/product-announcements/june-2026-workspace-feature-drop)
22. [8 New Features in Microsoft Excel for 2026, YouTube (Mike Tholfsen)](https://www.youtube.com/watch?v=a2_zMywcqbQ)
23. [LibreOffice says it 'will not add' AI features to document editor for the foreseeable future, TechRadar](https://www.techradar.com/pro/libreoffice-says-it-will-not-add-ai-features-to-document-editor-for-the-foreseeable-future)
24. [Microsoft Excel: more than one value can now be in a single cell, TechRadar](https://www.techradar.com/pro/microsoft-excel-gurus-your-prayers-have-been-answered-more-than-one-value-can-now-be-in-a-single-cell-as-a-new-era-of-spreadsheets-dawns)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Application software by domain › Web browsers, clients, and user agents

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/spreadsheet

English original: https://www.edgepedia.org/spreadsheet
