this post was submitted on 14 Apr 2025
1323 points (91.6% liked)
Programmer Humor
22657 readers
1732 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nah just stupid number formatting, my UPCs regularly turn into scientific notation or my UOM automatically convert to a string ="12" which ruins math operations so first I have to make a helper column =NUMBERVALUE([@UOM]).
Or being unable to convert datetime to a simple date for date calculations without loading the table into power query and transforming it there. You can change the format into short date but if the actual value is datetime it will still throw an error but now the type issue is hidden, so have fun reading docs and troubleshooting until you realize your mistake :)
You can make a date from a datetime in cell A1 with
=Date(year(A1), month(A1), day(A1))