Live data from Hacker News

Cursed Excel: "1/2"+1=45660

quadratichq.com

141–144 of 144 posts

Re: Cursed Excel: "1/2"+1=45660

#141

Earlier quoted context omitted.

Disagree, the most common way for an experienced user to type a date into Excel is as a partial date if it is this year, eg 4-Apr, which is instantly converted to 04/04/2025 or whatever. The vast majority of dates I personally type into Excel would be in this form.

Format the column as date. Or turn on the global option for loose type insanity.

In this thread: people who don't know how to use Excel tell people who do know, how to use it.

Re: Cursed Excel: "1/2"+1=45660

#142

Earlier quoted context omitted.

If you want the text "1/2" you should type '1/2 If you want the value one-half you should type =1/2 Not sure why this is controversial, Excel obviously has a syntax that's not focused on reproducing literal text.

You're not responding to the part where parent says the result is not 1/2 as in 0.5 but 2-Jan. The boobytrapped date parsing appears to be still happening even with "Automatic Data Conversions" disabled.

I understood that 1/2 converts to 2-Jan (or 1-Feb depending on settings).

That is desired behaviour. If you want the string 1/2 you need to use an apostrophe. If you want the fraction one half you need to use an equals sign. Both of these are vastly less likely to be what a user wants than the date interpretation, so it makes sense for that to be the default.

Re: Cursed Excel: "1/2"+1=45660

#143

Earlier quoted context omitted.

The setting only applies when you enter or edit a value. It doesn't convert values which are already stored in a cell.

Yeah... a slow burn that is difficult to notice until it's too late.

Excel is not designed to waste the time of frequent, experienced users while hand-holding casual users. It's designed to make power users very fast and accurate while possibly confusing casual and new users.

Re: Cursed Excel: "1/2"+1=45660

#144

Earlier quoted context omitted.

You're not responding to the part where parent says the result is not 1/2 as in 0.5 but 2-Jan. The boobytrapped date parsing appears to be still happening even with "Automatic Data Conversions" disabled.

I understood that 1/2 converts to 2-Jan (or 1-Feb depending on settings). That is desired behaviour. If you want the string 1/2 you need to use an apostrophe. If you want the fraction one half you need to use an equals sign. Both of these are vastly less likely to be what a user wants than the date interpretation, so it makes sense for that to be the default.

The parent posters discuss a menu option to turn off this automatic date parsing.
Post reply on HN