by andrewfromx · 4y ago · 0 comments
“Scientists rename human genes to stop Microsoft Excel from misreading them as dates”
> …over the past year or so, some 27 human genes have been renamed, all because Microsoft Excel kept misreading their symbols as dates.
> The problem isn’t as unexpected as it first sounds. Excel is a behemoth in the spreadsheet world and is regularly used by scientists to track their work and even conduct clinical trials. But its default settings were designed with more mundane applications in mind, so when a user inputs a gene’s alphanumeric symbol into a spreadsheet, like MARCH1 — short for “Membrane Associated Ring-CH-Type Finger 1” — Excel converts that into a date: 1-Mar.
Original paper leading to the changes: https://genomebiology.biomedcentral.com/articles/10.1186/s13...
When I worked at a lower level I had to deal with this constantly when folks doing mail merges had bad zip formats coming through, and as the “data guy” it all got referred to me to fix.
Still, I think excel is great when used within certain confines. I use it for ad hoc purposes all of the time for simpler bits of work that are one-offs where it would take a fair bit longer to explore the data a bit and make some minimally presentable visuals & tables and some inline notes on analysis and interpretation.
you think zip codes are a more common use case than numbers?
What’s painful is when a file has phone numbers and excel helpfully converts them all to scientific notation.
That a Excel could introduce bugs due to doing floats behind the scenes.... Completely unacceptable.
Why would we have to hold Excel to higher standards?
Now, that Excel stores binary floats, but tries to pretend to use decimal ones, that’s something I think we can blame it for.
From section 2 of https://people.eecs.berkeley.edu/~wkahan/Mindless.pdf:
Some parentheses in Microsoft’s Excel 2000 spreadsheet possess uncanny powers: Values Excel 2000 Displays for Several Expressions
Expression 1.23456789012345000E+00 <– Entered to help count digits
V = 4/3 displays… 1.33333333333333000E+00 Does Excel carry 15 sig. dec.?
W=V- 1 3.33333333333333000E-01 Whence comes the 15th 3 ?
X = W*3 1.00000000000000000E+00 Where went all 15 of the 9s ?
Y=X- 1 0.00000000000000000E+00 They all went away !
Z = Y*2^52 0.00000000000000000E+00 Really all gone.
(4/3 - 1)*3 - 1 0.00000000000000000E+00 Yes, gone.
((4/3 - 1)*3 - 1) -2.22044604925031000E-16 (But not ENTIRELY gone !)
((4/3 - 1)*3 - 1)*2^52 -1.00000000000000000E+00 Excel’s arithmetic is weird.Because one of it’s main uses is for doing calculations with money?
I appreciate that comeback. Well played.
(10 + 23)^5 = 39,135,393 which is enough for company devices
Avoid generating codes like FARKU, WANKR, USUCK etcetera.
I just don’t use excel anymore.