News for hackers. Stuff that matters.

Ask HN: Why Does Excel Default to Scientific Freaking Notation

When is the last time someone actually wanted Scientific Notation in their Spreadsheet?

Why on earth does Excel default to Scientific Notation for all large numbers?

How many errors can be attributed to Excel converting GTIN's, serial numbers, tracking numbers, event id's and worse into complete gibberish.

Excel Team - What gives!?

( 7 comments | 3 points | on HN )
Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by pestatije on Friday March 10, 2023 @08:32PM (#35104094)
> for all large numbers

There's your answer. Not every Excel user is in accounts

Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by sp332 on Friday March 10, 2023 @07:56PM (#35103737)
Numbers in Excel are limited to 15 digits, no matter what notation. If you want a number-looking string yo be a string, you can quote it with a leading ' .
Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by Alupis on Friday March 10, 2023 @08:07PM (#35103845)
Everyone knows how to wrestle Excel into cooperating, but that's the point - you shouldn't have to.

I would posit there's a near zero likelihood that someone copy/pasting a, say 21 digit number, wants it to automatically convert to Scientific Notation and lose data.

Excel should do the least astonishing thing when someone is working with data. If it cannot handle 15+ digits, it should assume a string, not a broken number.

Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by scantis on Friday March 10, 2023 @09:25PM (#35104461)
Check out EXCEL induced genome renaming.

Like the northern star, a refusal to waiver under any persuasion.

Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by FunkHose on Friday March 10, 2023 @10:33PM (#35104943)
Then you’d have someone complaining they can’t perform math on the numbers they just posted into Excel.
Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by thfuran on Sunday March 12, 2023 @05:04PM (#35126278)
There is no universally least astonishing thing for something with usecases as varied as excel. But I suspect that treating numbers as text is close to maximally astonishing.
Re:Ask HN: Why Does Excel Default to Scientific Freaking Not... by bediger4000 on Friday March 10, 2023 @10:53PM (#35105091)
The one that bugs me is when ISO8601 format dates (yyyy-mm-dd) somehow mysteriously turn into floating point numbers.

At least half of Excel usage happens because Word is so pitifully inadequate at formatting text in tables.