by hulitu · 2y ago · 0 comments
I thought they fixed that bug. Oh wait, this is Microsoft. /s
Perhaps having an option somewhere could be done, but it would sit there among the hundreds of other options that so many people have no idea about. I think changing Excel's default behavior is a social challenge in itself, I'd be having a stomach ulcer for decades if I was Excel's prooduct manager.
Maybe it depends on your use case, but why it converts almost everything to dates ? Why not to numbers ?
If format is set to General, Excel tries to make the best guess what is inputted and convert it to that value, so things like SUM work. That is very sensible behavior.
Your accountant doesn't want to set format and only then enter number. She has a job to do, so just do it for her.
Same thing for dates. This guessing algorithm has some edge behavior, but always happens. C# DateTime.TryParse("DEC12") will deduce date is 2012-12-01. Yay?
Do you want to keep it as text? Add ' as a first character (it's not considered a part of the string) or format cells to non-General format (e.g. Text) before entering a text.
Excel also tries to automatically convert numbers as well.