Spreadsheet Wars: Lotus 1-2-3 vs. the world!

Analogy: Cars a necessary tool for people in transportation. So, let’s let kids and babies drive without any instruction!
Shorter version: if you don’t know how to use it, then don’t use it. Especially if someone could die from your misuse.

Ok, here is the same article in another place

Let’s see if it allows a sane copy/paste

inquire within

The tyranny of spreadsheets: We take numbers for granted. Until we run out of them

Last October, 16,000 positive COVID cases disappeared from the U.K.’s contact tracing system. The reason? Microsoft Excel had run out of numbers

Author of the article:

Financial Times

Financial Times

Tim Harford

Publishing date:

Jun 29, 2021 • 3 hours ago • 14 minute read • Join the conversation

when you're relying on numbers to keep you safe, it's important to put some effort into keeping your numbers straight.

when you’re relying on numbers to keep you safe, it’s important to put some effort into keeping your numbers straight. PHOTO BY GETTY IMAGES/ISTOCKPHOTO

Article content

Early last October my phone rang. On the line was a researcher calling fromToday, the BBC’s agenda-setting morning radio program. She told me that something strange had happened, and she hoped I might be able to explain it.

Nearly 16,000 positive COVID cases had disappeared completely from the U.K.’s contact tracing system. These were 16,000 people who should have been warned they were infected and a danger to others, 16,000 cases contact tracers should have been running down to figure out where the infected went, who they met and who else might be at risk. None of which was happening.

FP Panel: Bringing new technology into the workplace

Close sticky video

Why had the cases disappeared? Apparently, Microsoft Excel had run out of numbers.

It was an astonishing story that would, in time, lead me to delve into the history of accountancy, epidemiology and vaccination, discuss file formatting with Microsoft’s founder, Bill Gates, and even trace the aftershocks of the collapse of Enron. But above all, it was a story that would teach me about the way we take numbers for granted.

Article content

Now, as the U.K. tentatively reopens against a background of rapidly rising cases, we are hoping that vaccinations will keep us safe. The vaccines have — rightly — been trumpeted as a scientific triumph. Their development and rollout have taken place on a heroic scale.

But back in September and October, when the U.K. was also reopening against a strikingly similar backdrop of rising cases, we had no vaccine to protect us. Instead, we were trying to defend ourselves with data. And we didn’t seem to be nearly as enamoured of data as we now are of vaccines. That is a shame, because when you’re relying on numbers to keep you safe, it’s important to put some effort into keeping your numbers straight.

The origin of Excel can be traced back far further than that of Microsoft. In the late 1300s, the need for a solid system for accounts was evident in the outbursts of one man in particular, an Italian textile merchant named Francesco di Marco Datini. Poor Datini was surrounded by fools.

“You cannot see a crow in a bowlful of milk!” he berated one associate.

Article content

“You could lose your way from your nose to your mouth!” he chided another.

Iris Origo’s vivid book describes Datini’s everyday life and explains his problem: keeping track of everything in a complicated world. By the end of the 14th century, merchants such as Datini had progressed from mere travelling salesmen able to keep track of profits by patting their purses. They were now in charge of sophisticated operations.

Datini, for example, ordered wool from the island of Mallorca two years before the sheep had even grown it, a hedge to account for the numerous subcontractors that would process it before it became beautiful rolls of dyed cloth. The supply chain between shepherd and consumer stretched across Barcelona, Pisa, Venice, Valencia, North Africa and back to Mallorca. It took four years between the initial order of wool and the final sale of cloth.

Article content

No wonder Datini insisted on absolute clarity about where his product was at any moment, not to mention his money. How did he manage? Spreadsheets.

Datini, of course, did not use Excel back in 1396. But he did use its direct predecessor: sheets of paper laid out according to the system of double-entry bookkeeping, otherwise known as bookkeeping alla veneziana. In double-entry bookkeeping, every entry is made twice. For example, if you spend 100 florins on wool, that is recorded as a credit of 100 florins in your cash account and a debit of 100 florins worth of wool in your assets account.

This extra effort of booking everything twice makes it much easier to detect mistakes. If one has been made, the books won’t balance. Double-entry bookkeeping became an essential method for keeping track of who owed what to whom, foreign exchange transactions, profits, losses, everything. It helped Datini and merchants like him ensure nothing was lost, no matter how incompetent their associates.

Article content

A century later, the master of double-entry booking was Luca Pacioli. He was a serious mathematician and a friend of Leonardo da Vinci. But he’s best known today as the most famous accountant who ever lived. He literally wrote the book on the double-entry method, back in 1494. Pacioli once advised, “If you cannot be a good accountant, you will grope your way forward like a blind man and may meet great losses.”

We don’t have to accept Pacioli’s insensitive simile to understand his point: life is easier when you can see the obstacles and opportunities around you. Good accounts show us clearly what would otherwise be invisible. But if you can’t keep your spreadsheets straight, you may meet great losses.

Nearly five hundred years later, in 1978, a student named Dan Bricklin sat in a classroom at Harvard Business School. As he watched his accounting professor filling in rows and columns on the blackboard, an idea dawned on him. Each time the professor made a change he would have to work across and down the grid, erasing and rewriting other numbers to make everything add up.

Article content

Bricklin knew that this erasing and rewriting was happening every day, millions of times a day, all over the world, as accounting clerks adjusted the entries in what they called spreadsheets: big sheets of paper spread across two pages of an accounting ledger.

Bricklin was a geek and former programmer who immediately thought, “I can do this on a computer.” As Steven Levy described in a classic mid-1980s feature in Harper’s, the rest was history. Bricklin and a friend called their spreadsheet program VisiCalc. It went on sale on October 17, 1979. It was a smash hit soon followed by Lotus 1-2-3 and then, in due course, by Excel.

For accountants, digital spreadsheets were revolutionary, replacing hours of painstaking work with a few taps on a keyboard. But some things didn’t change. Accountants still had their professional training and their double-entry system. The rest of us did not, but that did not prevent Excel from becoming ubiquitous. It was, after all, easily accessible and flexible, a tool like a Swiss Army knife for numbers, sitting in your digital back pocket. Any idiot could use it. And goodness, we did.

Article content

Nobody really knows what happened to the 16,000 positive COVID cases that disappeared from the spreadsheet. Public Health England (PHE), a government agency responsible for the process, still hasn’t published anything very informative on the issue. “The suggestion that any cases were ‘lost’ is simply incorrect,” they told me. “No cases were missed. There was a delay in referring cases for contact tracing and reporting them in the national figures.”

That delay was typically four or five days, long enough to render the test result almost useless. For a contact-tracing system, lost for five days is lost. The question is, how were they lost?

Somewhere in PHE’s data pipeline, someone had used the wrong Excel file format, XLS rather than the more recent XLSX. And XLS spreadsheets simply don’t have that many rows: 2 to the power of 16, about 64,000. This meant that during some automated process, cases had vanished off the bottom of the spreadsheet, and nobody had noticed.

Article content

The idea of simply running out of space to put the numbers was darkly amusing. A few weeks after the data-loss scandal, I found myself able to ask Bill Gates himself about what had happened. Gates no longer runs Microsoft, and I was interviewing him about vaccines for a BBC program called How to Vaccinate The World. But the opportunity to have a bit of fun quizzing him about XLS and XLSX was too good to pass up.

Microsoft founder Bill Gates.

Microsoft founder Bill Gates. PHOTO BY ANDREW CABALLERO-REYNOLDS/AFP VIA GETTY IMAGES FILES

I expressed the question in the nerdiest way possible, and Gates’s response was so strait-laced I had to smile: “I guess… they overran the 64,000 limit, which is not there in the new format, so…” Well, indeed. Gates then added, “It’s good to have people double-check things, and I’m sorry that happened.”

Exactly how the outdated XLS format came to be used is unclear. PHE sent me an explanation, but it was rather vague. I didn’t understand it, so I showed it to some members of Eusprig, the European Spreadsheet Risks Group. They spend their lives analyzing what happens when spreadsheets go rogue. They’re my kind of people. But they didn’t understand what PHE had told me, either. It was all a little light on detail.

Article content

They agreed that the basic problem was that whatever PHE had done wrong, it didn’t have the right checks and controls to flag problems. Or as Gates put it, “It’s good to have people double-check things.”

The original paper spreadsheets were designed to help us not lose our way, and one might naturally imagine the digital spreadsheet is not only faster but more accurate. Is it? One clue comes from a wonderful study conducted by Felienne Hermans, a computer scientist. A few years ago, Hermans realized that there was a bountiful source of spreadsheets she could study. That source was Enron, the bankrupt energy company.

After Enron collapsed in 2001 amid an epic accounting scandal, regulators extracted a cache of half a million emails from the company’s servers. Those emails are now publicly available and have been studied by researchers trying to understand everything from the evolution of informal written language to the way people use email folders. Hermans was interested in what was attached to some of these emails: spreadsheets.

Article content

She started digging through them, not looking for fraud, but for spreadsheets with obvious errors such as missing or circular references. Looking at nearly 10,000 spreadsheets with calculations in them, she found that a quarter had at least one such error. The errors even seemed to multiply. If a spreadsheet had any mistakes at all, on average it contained more than 750.

How can a spreadsheet acquire so many errors? Matt Parker, the author of Humble Pi, a book about mathematical mishaps and their consequences, notes that Excel’s own functionality combined with the mistaken assumptions of users will often introduce mistakes.

Type an international phone number into Excel, for example, and the program strips off the leading zeroes, which are redundant in a mathematical integer but not in a phone number. If instead you type in a twenty digit serial number, Excel will decide those 20 digits are a huge quantity and round them off, turning the last few digits into zeroes.

Article content

Enron's logo at its headquarters in 2001.

Enron’s logo at its headquarters in 2001. PHOTO BY JAMES NIELSEN/GETTY IMAGES FILES

Or say you’re a genetics researcher typing in the name of a gene such as “Membrane Associated Ring-CH-Type Finger 1,” or March1 for short, or perhaps the Sept1 gene. You can imagine what Excel does next. It turns those gene names into dates. One study estimated that 20 per cent of all genetics papers had errors caused by Excel’s autocorrect.

Microsoft’s defence is simple enough: The default settings are intended to work in everyday scenarios. Which is the polite way of saying: Guys, Excel wasn’t designed for genetics researchers. It was designed for accountants.

But it’s understandable that scientists picked up Excel and started to use it. It’s powerful, it’s flexible. It’s ubiquitous. It may not be the right tool, but it’s the tool that’s right there.

Article content

When used by a trained accountant to carry out double-entry bookkeeping, a long-established system with inbuilt error detection, Excel is a perfectly professional tool. But when pressed into service by genetics researchers or contact tracers, it’s like using your Swiss Army Knife to fit a kitchen because it’s the tool you have closest at hand.

And yet when the genetics research community were wrestling with the autocorrecting genes issue, they resigned themselves to the hard truth that they would never wean people off Excel. Instead, the folks in charge — the Hugo Gene Nomenclature Committee — decided to change the names of the genes in question. The decision neatly illustrates the contortions we go through as a result of treating data as an afterthought, just something to slap together on a spreadsheet. That is a shame, because history suggests that well-managed information can be transformative.

Article content

A few months ago, I asked folks on Twitter if they could recommend some good books about the eradication of smallpox. Most people recommended books about Edward Jenner, who in 1796 was the first to demonstrate an effective smallpox vaccine. That’s revealing, because I’d asked about the eradication of smallpox, and smallpox wasn’t eradicated in 1796. Not even close.

While eradication would have been impossible without a highly effective vaccine, it also required the highly effective use of information.

Ever since the vaccine for smallpox was demonstrated in 1796, people dreamed of eradicating the disease. But those dreams kept failing to come true. In trying to vaccinate the entire planet, over and over again, the vaccinators never managed to reach quite enough people.

Article content

In the mid-1960s, smallpox was still killing two million people a year. The World Health Organization announced it would redouble its efforts to eradicate the disease and planned to do so by intensifying the mass vaccination campaign. One of those leading these efforts was Bill Foege, an Iowan-born epidemiologist who knew smallpox so well he could detect cases by smell. (Lesion-blistered skin has a distinctive odour.) Foege would show up in a village in eastern Nigeria, all six foot seven of him, and the elders would put out the word, Come and see the tallest man in the world! And people did. Foege reckons he once vaccinated 11,600 people in a single day.

It wasn’t enough to quash periodic outbreaks. Then, late in 1966, Foege received a radio message warning of an outbreak of smallpox in a village about a hundred miles away. He travelled there, found five cases and vaccinated everyone they’d been in contact with. Standard practice then would be to vaccinate everyone for miles around. But Foege’s team just didn’t have enough doses.

Article content

Instead, he used radio and the local network of missionaries to spot new cases. Every evening at seven o’clock, they’d switch on the radio and put the word out. Whenever an outbreak was reported, Foege and his team quickly raced to the scene and administered vaccines. The hope was to create something like a firebreak, keeping the disease from spreading. And it worked.

Using this tactic, Foege’s team eliminated smallpox from eastern Nigeria within six months. The secret was to worry less about the blanket coverage that was never quite good enough and to worry more about quickly finding exactly where each outbreak had appeared. Eradication was all about information.

Foege’s experience showed that public health workers could beat smallpox if they had the data.

Article content

The strategy became known as ring vaccination. It’s not the same as contact tracing, but it has a lot in common: In both cases you need to rapidly isolate infected people and find their recent contacts.

Ring vaccination worked. In less than a decade, doctors were scrambling to get to an outbreak in India so that they could observe a case of smallpox before the virus went extinct.

The vaccines were important. Essential, in fact. But so was quickly identifying and tracing contacts at risk. Smallpox had survived nearly two centuries of vaccinations — but it could not survive a well-run system that targeted outbreaks and tracked potential cases. With hindsight, it seems simple. But of course, keeping track of things is harder than it might first appear. Francesco di Marco Datini could have told you that.

Article content

One of the striking lessons of the pandemic has been how powerful data can be when handled well — and how much damage is done when the data are fumbled. Almost every question we have asked about this virus requires the deft use of statistics to answer it. Who has it? How does it spread? Who is most at risk? How can we treat it? Without a flow of good data and reliable ways to analyze that data, we haven’t a hope of answering such questions.

Nature reported late last year that Australia, Washington state and Hawaii were still using phones or faxes to share information about new cases. There is more to running a good contact-tracing system than data infrastructure. But without good data the task is all but impossible. As with smallpox, success begins with rapidly figuring out where the virus is — and where it might go next.

Article content

Nor has the vaccine rendered contact tracing obsolete. Most people still aren’t vaccinated, and some people never will be. One day there will be another pandemic, and another, and another. We can’t guarantee vaccines will work every time, and vaccines take time to develop. While we wait, there will always be contact tracing. And good contact tracing, like thousands of other good things we want to achieve, requires investing in serious data infrastructure.

Let’s say you really want proof that contact tracing works, how would you get it? Let’s also say you’re a mad scientist, crazed with power and unhindered by conventional ethics. You’d probably hack into the country’s contact-tracing system, then you’d delete some of the positive cases, making sure that some regions lost a lot of cases and some lost very few. This nefarious experiment would allow you to compare what happened in the places where the contact-tracing system was still running smoothly with the places where thousands of cases had gone missing.

If you weren’t an evil genius, of course, you wouldn’t dream of doing such a thing. Instead, you’d keep an eye out for it happening by accident because somebody bungled the formatting of Excel spreadsheets.

Article content

Two economists, Thiemo Fetzer and Thomas Graeber, did just that. They decided that no catastrophe should be allowed to occur without trying to learn some lessons. They combed through the evidence from Public Health England’s mishap. And by comparing the experiences of different regions, they concluded that the error had led to 125,000 additional infections.

The story about Excel running out of numbers just seemed so bizarre at first. That’s why I took pleasure in teasing Gates about it. But his response was right. He wasn’t laughing, because he understood that this wasn’t a comedy; it was a tragedy.

MORE ON THIS TOPIC

  1. [Harvard Business Professor Tsedal Neeley is the author of Remote Work Revolution: Succeeding from Anywhere.

‘Never in my wildest dreams:’ What the guru who predicted remote work 20 years ago thinks about it now

]('Never in my wildest dreams:' What the guru who predicted remote work 20 years ago thinks about it now | Financial Post)
2. [None

Gen Z’s LinkedIn: How companies are using TikTok to recruit young talent where they are

](Gen Z's LinkedIn: How companies are using TikTok to recruit young talent where they are | Financial Post)
3. [Johnathan and Melissa Nightingale are the founders of Raw Signal Group.

‘It was one of the scariest decisions we’d made as a company, and also one of the clearest’

](‘It was one of the scariest decisions we'd made as a company, and also one of the clearest’ | Financial Post)
4. [At the personal level, conflict helps you advocate your needs, and minimize the resentment and stress that you carry around with you.

Sigh really loudly and fake a delivery: The Workish guide to managing conflict

](Sigh really loudly and fake a delivery: The Workish guide to managing conflict | Financial Post)

Article content

Fetzer and Graeber have calculated a conservative estimate of the number of people who died, unknown victims of the spreadsheet error. They think the death toll is at least 1,500 people.

So, the next time there’s a pandemic, let’s make sure we have our spreadsheets in order. After all, as Luca Pacioli, the father of accounting, warned us more than five hundred years ago, without a good spreadsheet, you will grope your way forward, “and you may meet great losses.”

One thousand five hundred deaths. Relative to the scale of the whole pandemic, this is just a sliver of the total tragedy. But as the needless price of bad data management, they are great losses indeed.

This essay is adapted from Tim Harford’s podcast, “Cautionary Tales.” His book, “How to Make The World Add Up,” is out in paperback.

“Too long, read some” version: don’t use Excel for EVERYTHING. It’s good for simple jobs.
I think most of us know this already.

No, I do not do anything complicated with Excel.

My company is going to Google Sheets and the entire Google suite. I’m having a lot of trouble getting my data from BigData down to the Sheets level. My work productivity is going way down too.

That’s funny to me. My company has blocked google sheets for malware prevention.

1 Like

If anything, Sheets is worse than Excel in terms of getting shit done, but better because it’s so limited, so the damage you can do is less!

2 Likes

So they want you to dig a basement for the house and you had a shovel. But they want you to use a backhoe or excavator so they take away your shovel and give you a hand trowel.

Well, at least you think they took away the shovel and gave you a hand trowel because they want you to use a backhoe or excavator. But they might not have a backhoe or excavator and they didn’t provide you with any training on how to use one of those anyway.

Or at least that is how it seems sometimes.

And the hand trowel is dulled, so you don’t hurt yourself or others when using it.

My company has blocked Google Sheets because it’s not secure, and if you put confidential data into sheets it would be at risk. But Google sells a secure version to large corporations. We just haven’t purchased it because we are a Microsoft shop.

I don’t think it’s a “malware” risk.

You can do quite a lot in Google sheets. I use it for personal stuff, because a lot of my personal stuff is collaborations with others. I wouldn’t say the trowel is dulled.

You know what else isn’t secure?

Email.

We have some automatic restrictions on external email, too. I’ve never tested them, but every so often the system thinks something might be a SSN and won’t let me send it. So it does something.

:woman_shrugging:

(it has an annoying number of false positives, and for a while it wouldn’t let me send ANY powerpoint files outside of the company, with the message “this document contains SSNs”. I believe the real reason was that the software couldn’t read PPT files to check for SSNs. But… if you tend to collaborate on industry stuff, say, as part of a CAS committee, that can be really annoying.)

Speaking about Google stuff not being secure, an interesting conversation once arose at the HK unit of one of the Big 4s.

The staff at the HK unit occasionally do work for China clients. Any documents from China will of course be in Chinese.

Hong Kongers generally know Chinese but they use the traditional script (simplified script used in China) and more importantly, they aren’t familiar with the Chinese technical terminology.

Generally, if they copy-paste a bunch of text into Google Translate, with the imperfect translation and their imperfect understanding working hand-in-hand, they can figure out what the text is saying.

Someone then raised the question of while it is definitely fine to do so for public documents such as regulatory documents, is it appropriate to do so for any client specific documents? Anything pasted into Google Translate may be saved in a Google server somewhere and obviously there isn’t any sort of NDA between Google and the firm.

The partner quickly banned Google translate use for client documents…

1 Like
2 Likes