{"id":30351,"date":"2020-10-05T16:02:24","date_gmt":"2020-10-05T20:02:24","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30351"},"modified":"2020-10-05T16:02:24","modified_gmt":"2020-10-05T20:02:24","slug":"uk-covid-19-cases-missed-due-to-excel-glitch","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/10\/05\/uk-covid-19-cases-missed-due-to-excel-glitch\/","title":{"rendered":"UK COVID-19 Cases Missed Due to Excel Glitch"},"content":{"rendered":"<p><a href=\"https:\/\/www.dailymail.co.uk\/news\/article-8805697\/Furious-blame-game-16-000-Covid-cases-missed-Excel-glitch.html\">James Tapsfield<\/a> (also: <a href=\"https:\/\/news.ycombinator.com\/item?id=24689247\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.dailymail.co.uk\/news\/article-8805697\/Furious-blame-game-16-000-Covid-cases-missed-Excel-glitch.html\">\n<p>The extraordinary meltdown was caused by an Excel spreadsheet containing lab results reaching its maximum size, and failing to update. Some 15,841 cases between September 25 and October 2 were not uploaded to the government dashboard.<\/p>\n<p>[&#8230;]<\/p>\n<p>The problems are believed to have arisen when labs sent in their results using CSV files, which have no limits on size. But PHE then imported the results into Excel, where documents have a limit of just over a million lines.<\/p>\n<p>The technical issue has now been resolved by splitting the Excel files into batches.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/www.theguardian.com\/politics\/2020\/oct\/05\/how-excel-may-have-caused-loss-of-16000-covid-tests-in-england\">Alex Hern<\/a> (<a href=\"https:\/\/twitter.com\/alexhern\/status\/1313119077100130307\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.theguardian.com\/politics\/2020\/oct\/05\/how-excel-may-have-caused-loss-of-16000-covid-tests-in-england\"><p>But while CSV files can be any size, Microsoft Excel files can only be 1,048,576 rows long &#x2013; or, in older versions which PHE may have still been using, a mere 65,536. When a CSV file longer than that is opened, the bottom rows get cut off and are no longer displayed. That means that, once the lab had performed more than a million tests, it was only a matter of time before its reports failed to be read by PHE.<\/p><\/blockquote>\n\n<p>Excel recently <a href=\"https:\/\/twitter.com\/msexcel\/status\/1311433151235883011\">turned<\/a> <a href=\"https:\/\/news.ycombinator.com\/item?id=24662517\">35<\/a>, and it sounds like they <a href=\"https:\/\/twitter.com\/ruskin147\/status\/1313127412377497605\">were using<\/a> the old <tt>.xls<\/tt> format that was superseded <a href=\"https:\/\/en.wikipedia.org\/wiki\/Microsoft_Office_XML_formats\">in 2003<\/a>. The <tt>.xlsx<\/tt> format has <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3#ID0EBABAAA=Office_2007\">higher limits<\/a>, but even 1,048,576 rows is less than one doubling away from the 516K total cases in the UK that Google currently reports.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/08\/07\/renaming-human-genes-for-excel\/\">Renaming Human Genes for Excel<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/08\/01\/why-unsubscribing-can-take-time\/\">Why Unsubscribing Can Take Time<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>James Tapsfield (also: Hacker News): The extraordinary meltdown was caused by an Excel spreadsheet containing lab results reaching its maximum size, and failing to update. Some 15,841 cases between September 25 and October 2 were not uploaded to the government dashboard. [&#8230;] The problems are believed to have arisen when labs sent in their results [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-10-05T20:02:27Z","apple_news_api_id":"0ef8a09e-e846-479b-8b51-ba7ad869ee3d","apple_news_api_modified_at":"2020-10-05T20:02:27Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ADvignuhGR5uLUbp62GnuPQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1931,1857,609],"class_list":["post-30351","post","type-post","status-publish","format-standard","hentry","category-technology","tag-covid-19","tag-csv","tag-microsoft-excel"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=30351"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30351\/revisions"}],"predecessor-version":[{"id":30352,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30351\/revisions\/30352"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}