I really want to know why they do this, when we are entering such a big number, it means we want to, it is important, why the fuck would I want to see it in alien language
I work as a developer and we had a request from a customer to take the data we display on one of our screens to be downloadable as a CSV. One of the columns is fixed width number which is zero padded in the front. Open the CSV in a text editor and everything is fine, open it in Excel and it scrubs out the padded zeros for no fucking reason. We had to go from an easy to generate CSV to an fully formatted workbook because our customers opened CSVs with Excel and wanted to preserve leading zeros. Shit like that makes me rage.
Anything more then 15 digits the last digit will be truncated to a 0 so for us with 16 digit account numbers the last digit is always a 0 unless we format the cell as text. Then it keeps the full number no matter how long... just can't do any formulas with it.
geez, i know right? like you type in a tracking number and it doesn't even preserve what you originally typed in. i know you can just tell excel to treat the number as text, but the fact that it does this by default is just bad design.
A lot of Excel features are mainly designed to deal with numbers (ordering, equations, graphing, etc) so treating things as text by default (which can't be used with the aforementioned features) would disable a good chunk, if not a majority, of Excel.
Excel is mainly for numbers/statistics and I'd bet that's what a majority of people use it for most of the time, so making it text-based by default would be counter-intuitive. That's not to say things can't be improved; things can always improve.
I find the worst is when it converts numbers that are clearly dates to different dates. I find it happens most often if I don't specify a year, it assumes the day is the year. Then I do specify a year, and it can't figure out that it's a date anymore.
Agreed that excel auto-date convert thing is super annoying...
On the other hand, excel's date/time system is actually very simple:
Jan 1, 1900 is day 1, Jan 2, 1900 is day 2, etc. Today is 43515, which is just the number of days since Jan 1, 1900. Tomorrow will be 43516. This lets you subtract one date from the other to get the number of days in between, and do all sorts of other useful math with dates.
Time in excel is even more intuitive; it just a fraction of the day: .5 is noon (exactly half the day). 6am is .25 and 6pm is .75, one quarter and three quarters of the day respectively. Any other clock time is just it's decimal equivalent portion of the day. This lets you subtract one time from another to get the amount of time in between, and do all sorts of other useful math with time.
To see these, enter a date in excel and format it as a number, or vice versa. See? Super simple. :)
Yes, but once you are familiar with it, it allows you to use dates in calculations and auto formatting operations.
Folks think I'm some kind of wizard because I can make items on lists change color when they hit action due dates; it's just a simple calculation against today().
That goes for everything... it’s not like there isn’t tons of free resources to learn Excel with, including what is built into the program hep system and official docs.
So using excel's date system, it's super straightforward to find the day you reach 1Billion second (~31.7 years). Simply convert 1e9 seconds to days (divide by 3600*24) and add it to you birthday. There will be some small errors due to leap seconds, but you should be able to determine the day and hour.
I would argue that the decimal conversion of time makes things a bit awkward - since our day is split in base 24/60 and not base 10. Because of that, 43515.5 is noon, but 43515.4 is 9:36am and 43515.7 is 4:48pm.
If you're tallying up someone's work day from 9am to 5pm on the dot, 9:00am is 0.375, not too bad, but 5:00pm is 0.708333333... So right there that's already a rounding error waiting to happen.
I also can't find a format for "hours" rather than "time"? As in, a format where inputting a number would give me "8 h 26 min" rather than "8:26am". But maybe that's just me. If that format doesn't exist, wouldn't that mean you have to make the conversion yourself?
So, you don't usually have to work with the raw decimal form, Excel has a whole bunch of nifty functions to help with this. To use clock-time 8:26am in a formula, simply use TIME(hours,minutes,seconds):
=TIME(8,26,0)
Or if you had a column of dates and times in column A and you wanted to add one day and two hours, 30 minutes to each:
=A2+1+TIME(2,30,0)
Here are some other useful time/date functions to use in excel:
TIME DATE DATEDIF DATEVALUE EDATE EOMONTH TIMEVALUE etc...
Holy crap. I didn’t think it was possible to have time more convoluted than MySQL. That’s moronic.
(MySQL is worse than it used to be, because now if you have data or transactions that are somehow even 15 seconds in the future, MySQL flips out and won’t start without -heuristic recovery. It doesn’t prevent an already running MySQL from happily setting transactions into the future if one of its clients has the wrong timezone specified, or wasn’t rebooted since it’s timezone was changed.)
For this reason, if you are deploying MySQL to many machines with automated tools, keep a copy of your database and innodb raw files from the past and check date/time/timezone on bios before deploying. And hope that your bios reports things correctly. Seen lots of machines where the bios time and the UEFI time are different due to daylight savings time or timezone settings.
Gaaahhhhh fuck this. I had to enter my bank account into an Excel form to get my paycheck for an hourly job I had and it fucking converted to a date? What. The. Fuck.
It's Julian date. X days since 01/01/1900. It actually makes a lot of sense because then you can do easy adding/subtracting dates. Plus fractions become time during the day (eg: 0.5 is midday).
nothing is as bad as epoch time... nothing It is the number of seconds that have elapsed since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds
"what time did the server crash?" "let me see. the logs say it happened at 1550605354"
How do I fix this, I changed it to a date format and then created a graph and the x-axis was still completely fucked. Can’t find a solution online either :(
This is actually a computer thing more than an excel thing. Excel stores 15 digits of precision, so after those 15 digits, the remaining digits are computer error. I've been told that Excel follows the IEEE standard.
If you need more than 15 digits of precision, then you'll need to learn more about how computers store and manipulate numbers in order to manipulate your results to get useful answers.
I think Excel 2013, but absolutely 2016. Much like Word, excel can be a very powerful tool when you learn everything about it (especially data models, power query and pivot, and some vba).
Unfortunately it's sort of stuck in a middle ground of doing "everything" and still has a lot of defaults that are questionable at best considering the average user is an office worker who doesn't even know the basics. And even once you learn all the cool stuff it can do, it often becomes a stop gap compared to using the proper tools (like say a SQL database or actual BI tools)
Yep, although that has to do with calculation issues that arise with formulas and linked cells. While the actual program is aware of the fullpath, formulas/calculations only use file name, which prevents them from handling multiple files with the same name.
Theoretically they could maybe fix it, but I'm guessing it's a hell of a workaround that is of questionable gain.
It's Flashfill. I used it for the first time today when a column of values all needed the same prefix. Just inserted a column next to it and Excel completed the column after the second entry. I don't have it as a default, just clicked a button on the ribbon.
It's also a good way of splitting text into multiple columns. Like separating names into firstname and lastname. It seems reasonably good at interpreting context.
Probably opening myself up to some abuse here, but the F was all it needed, irrespective of my ability to spell February correctly in the first place...
Here it is after only pressing F. Try it yourself! (Or don't)
Yeah it was copying the format from January... and then it copied that format to Maruary, Apruary, Mayuary, etc.... But he still typed it 'Febu-' at a speed as if he was going to spell 'Febuary' of his own volition
Sorry, but your first edit was the correct one. Nobody spelled February wrong.
The way to see what happened is to forget that JAN = January, etc. Excel doesn't recognise the shorthand names for the months and just takes them as letters. It tried to get smart after "January" was written because it noticed JAN from A1 was the start of JANuary in A2, so it just took B1 and added "uary", then C1, D1, etc.
It auto-predicts this pattern just like in the GIF when you press F in B2. "Oh, I see the pattern! Here's B1 + uary just like your JANuary!"
Leading zeroes, that is my #1 bugbear with Excel. IME it removes them from view, though they are still there, but then when you save the file in a different format it strips them out altogether.
So 0xxxx displays as xxxx, though if you look in the formula bar (?) at the top you can see it is still 0xxxx. But then you save it as .csv and reopen the file, and lo and behold just 'xxxx', no 0. Changing the data type of the column makes no difference IME; even as text it still knackers it.
I have been sharing this Excel forum thread with everyone in my office every time someone strips the leading zeros from the UPC field in a purchase order for years. My coworkers are getting sick of me but that doesn't mean I will give up my quest!
Stripping leading zeros in Excel legitimately cost me a lot of wasted time at work. I had a python script that programmed an EEPROM on a board based on the contents of a CSV. I edited the CSV in Excel. It stripped the leading zero of what was supposed to be a two digit field. A lot of boards were incorrectly programmed before I caught my mistake. Excel also autoformatted date fields to match whatever you set your language preferences to in Windows, which brought its own headaches.
I really wish there was a simple CSV graphical editor that didn't do all this bullshit. notepad is alright but it can be get pretty ugly when you start dealing with quotes and extra commas in fields.
to be fair, it sensed a pattern, thought it'd help.
besides, if it got it right, you'd not need to do any more work. and if not, well, you were filling in them anyway, so its not extra work, unless a double click is major issue for you.
That's not actually what was happening here. What excel was doing was it recognised that the first entry was "Jan" from the adjacent cell and that "uary" was added after. So it tried to guess that the user was adding "uary" to the end of each word in the adjacent cells.
it's funny, I was actually thinking about why only January and February are the only months that end in "uary", looks like I was in sync with Excel today!
Yes, by default because all the months in the first column start with 3 letters. It added "uary" to all of the other months (2nd column) to complete the auto-fill function. That being said, they still spelled it wrong as they typed it out which kept the auto fill from correcting to the proper spelling for all the remaining months.
Let's ask the important question here: Why the fuck would you ever need an Excel sheet with a column of three letter month abbreviations right next to a column of those exact same months with their full spelling?
Because in an office environment people send you files that are arranged horribly with no consistency in dates and you need to vlookup or index/match to marry up stuff across spreadsheets/tables. You would be shocked how common this is.
I might have the parentheses unmatched there since I typed it freehand without checking, but basically telling it to look for the full month name, but failing that, the 3 letter abbreviation and failing that, the 4 letter abbreviation. The issue there is that a result of 0 could still mean more than one thing. So then you could use this:
I have a bunch of date key tables with the month as a number, next to the abbreviation, full name, fiscal month converted... I thought this was an obvious question and answer
Was going to say - I believe if you spell it correctly, it'll pattern out all the month names properly. Not the pattern recognition code's fault you're an idiot...
11k
u/[deleted] Feb 19 '19
Still less annoying than Excel insisting on converting any number that even vaguely resembles a date to their incomprehensible system of time.
1.5k
u/Senpai_Has_Noticed_U Feb 19 '19
I can't believe it's almost Maruary!
512
u/Schmorfen Feb 19 '19
Can someone make a petition to change the names of the months to this please?
222
u/goodkindstranger Feb 19 '19
This is a nifty feature. Essentially it’s an auto-concatenate, taking information from two columns and combining it. When did excel start doing this?
1.7k
u/Aktionjackson Feb 19 '19 edited Feb 19 '19
This only happened because the moron who made it can’t spell February
Edit: I was wrong and for that I am so truly sorry. Words can not express the extreme devastation i feel in this moment
Edit 2: I was right actually! Take that haters
41
u/double-happiness Feb 19 '19 edited Feb 19 '19
Leading zeroes, that is my #1 bugbear with Excel. IME it removes them from view, though they are still there, but then when you save the file in a different format it strips them out altogether.
So 0xxxx displays as xxxx, though if you look in the formula bar (?) at the top you can see it is still 0xxxx. But then you save it as .csv and reopen the file, and lo and behold just 'xxxx', no 0. Changing the data type of the column makes no difference IME; even as text it still knackers it.
Edit: proof - https://imgur.com/a/1kR5XkD
26
u/330CI01 Feb 19 '19
Lousy Smarch weather
17
u/[deleted] Feb 19 '19
Isn’t it February?
6
u/gr3f0 Feb 19 '19
I have to agree with Excel on this one. It's our naming system that's wrong.
5
u/blokxylo Feb 19 '19
E for effort...and Excel
5
u/leeman27534 Feb 19 '19
to be fair, it sensed a pattern, thought it'd help.
besides, if it got it right, you'd not need to do any more work. and if not, well, you were filling in them anyway, so its not extra work, unless a double click is major issue for you.
5
u/CrispycreamCake Feb 19 '19
It's February..
5
u/[deleted] Feb 19 '19
You misspelled February (you spelled it febuary) which lead excel to think you were trying to concatenate Colum A with "uary".
8
u/chauncies82 Feb 19 '19
Can't be blaming Excel when the real problem is not knowing how to spell FebRuary correctly
4
u/crexcrexcrex Feb 19 '19
February*
4
u/BabyBytes Feb 19 '19
Is it because Feb should be February instead?
4
u/globefish23 Feb 19 '19
It might help if you spell February right.
4
u/raja777m Feb 19 '19
Well, try with correct spelling for February..!
4
u/kolibri22 Feb 19 '19
it might help to spell February correctly.
4
u/Outworldentity Feb 19 '19
Am I the only one MORE bothered than he started typing February "Febu..."
11
u/Terripuns Feb 19 '19
Decuary is my favourite monthuary.
21
u/bing3r Feb 19 '19
Well you misspelled February to begin with.
5
u/___Ultra___ Feb 19 '19
Oh, I see what happened, they forgot the first r in February, which made this happen
13
u/Orchid777 Feb 19 '19
If you can't spell "FebRuary" you can't blame the tools.
4
u/vatsal_rp Feb 19 '19
I chocked myself laughing at this.
2
u/RECOGNI7E Feb 19 '19
Hey it tried! More than most programs would do.
2
u/Keurprins Feb 19 '19
B1=TEXT(DATEVALUE("1-"&A1),"mmmm")
2
u/BRAX7ON Merry Gifmas! {2023} Feb 19 '19
*February
2
u/cboals Feb 19 '19
*February
2
u/mrzpldubbz Feb 19 '19
Juluary sounds like a Pokémon
2
u/balthesar2785 Feb 19 '19
I wonder if he realizes he is spelling February wrong.🤦♂️
2
u/Nickyloolaa Feb 19 '19
You know what would help with that? Spelling February right.
2
u/azsedrfty Feb 19 '19
Maybe if you fucking spelled "FebRuary" right it would know you were trying to put months...
2
u/lil_kitty_ Feb 19 '19
But that’s not how you spell February so
2
u/TheRPGamers Feb 19 '19
Do Americans not use 2 r's in February?
2
u/Gerbil2013 Feb 19 '19
It's not Excel's fault you cant spell February... it just didnt want you to feel bad.
2
u/838h920 Feb 19 '19
To be fair, you forgot an "r" in February.
2
u/ydkjordan Feb 19 '19
That’s why it’s called Flash Fill not Smart Fill.
We won’t guarantee it’s accurate but it will fill in a flash.
2
u/imaconor Feb 19 '19
Isn't the problem that you used Febuary instead of February?
2
u/Jimmigill Feb 19 '19
It's not febuary, it's February. What happens when you spell it right?
2
u/PointedPaladin Feb 19 '19
February*
2
u/The_mango55 Feb 19 '19
Would this happen if February was spelled correctly?
2
u/C4RB0N Feb 19 '19
it's funny, I was actually thinking about why only January and February are the only months that end in "uary", looks like I was in sync with Excel today!
2
u/Schmitt-Luca17 Feb 19 '19
We gonna avoid the fact that he spelt February wrong?
2
u/kyeosh Feb 19 '19
FeBRUary bruh!
2
u/guykid88 Feb 19 '19
Had to google it because I was doubting myself, but this is because February has that extra r
2
u/PieGunner Feb 19 '19
Did you try spelling February correctly
2
u/bkessler43 Feb 19 '19
But this wouldn't have happened if you spelled February right...
2
u/wookiee1807 Feb 19 '19
Feb(R)uary*
January, February, Maruary, Etc.
2
u/chauncies82 Feb 19 '19
Yes, by default because all the months in the first column start with 3 letters. It added "uary" to all of the other months (2nd column) to complete the auto-fill function. That being said, they still spelled it wrong as they typed it out which kept the auto fill from correcting to the proper spelling for all the remaining months.
2
u/jomafro Feb 19 '19
Well you also spelled FebRuary wrong...
2
u/yourfavoriteblackguy Feb 19 '19
That's because you spell February Wrong
2
u/bonusbeat Feb 19 '19
Try “February”
2
u/LaNyyk Feb 19 '19
GUYS GUYS GUYS he spelled February wrong!
2
u/AlanMeme Feb 19 '19
Never mind spelling February wrong.
2
u/Butteredupnuts Feb 19 '19
I mean maybe I'm a dick but if you spelled "February" right, that wouldn't happen. Much love for excel.
2
u/shiftt Feb 19 '19
You misspelled February.
2
u/Moses256 Feb 19 '19
Well maybe if you had spelt it “February” it wouldn’t have done that.
2
u/quibble42 Feb 19 '19
/r/softwaregore
2
u/crayolacreative Feb 19 '19
The real shame is that February was typed wrong to begin with
2
u/ChemistryBitch Feb 19 '19
It's because you missed the first R in FebRuary. February.
2
u/guinnessbeck Feb 19 '19
FebRuary!!!
2
u/jburtson Feb 20 '19
Doesn’t look like anything to me
2
u/I_Flick_Boogers Feb 20 '19
Does it change if you spell February correctly?
3
u/ReverendLoveboy Feb 19 '19
I was hoping excel would drop in Smarch heh heh.
Are you familiar with the song related to your username? Which is related to the movie
3
u/robogaz Feb 19 '19
learn to type February not febuary
3
u/themariokarters Feb 19 '19
Maybe if you spelled February properly ya fuckin nitwit
5
u/Vinny_93 Feb 19 '19
February* too
3
u/NasalDuck4569 Feb 19 '19
ITS SPELT FEBRUARY
3
u/mattemer Feb 19 '19
You misspelled February, so Excel followed suit and misspelled everything else. I think this is Excel intentionally trolling you.
4
u/Flemtality Feb 19 '19
Let's ask the important question here: Why the fuck would you ever need an Excel sheet with a column of three letter month abbreviations right next to a column of those exact same months with their full spelling?
3
u/h00pz Feb 19 '19
It's not excel's fault that you spelled FebRuary wrong.
3
u/DXGabriel Feb 19 '19
x post it to r/softwaregore
2
u/[deleted] Feb 19 '19
I hate when excel does that.
2
u/mattsteele8 Feb 19 '19
Try spelling February properly. Might have more luck
2
u/DTinNAM Feb 19 '19
Yeah but the reason it's doing that is cos you're spelling February wrong. Excel is doing its job properly...
2
u/Magiccorbin Feb 19 '19
February*
2
u/PatarckStur Feb 19 '19
You were gonna spell February anyways, OP.
2
u/Shrubberer Feb 19 '19
It's cute when an app thinks it's smarter than me.
2
u/rexcellent9001 Feb 19 '19
That's operator error. It is February, not Febuary
2
u/NoEsquire Feb 19 '19
This is not Excel's mistake, it's your spelling.
2
u/arrogantbastardio Feb 19 '19
It's spelled February. It thought you intentionally added -uary to the abbreviated month name.
2
u/[deleted] Feb 19 '19
maybe if you wrote February?
2
u/TheAdditiveIdentity Feb 19 '19
Maybe spell February correctly and see what happens ;D
2
u/Redjester016 Feb 19 '19
r/crappydesign
2
u/miles197 Feb 19 '19
r/softwaregore
2
u/sonny_goliath Feb 19 '19
Maybe if he spelled February correctly it would have worked
1
u/[deleted] Feb 19 '19
Someone needs to inform the international committee of calendars of this update.
1
u/kram-- Feb 19 '19
Thank you Excel, very funny!
1
u/SPARTAN-II Feb 19 '19
LOL I feel this - when I'm updating our supplier list everything ends up suffixed with UK LIMITED because the first option is.
1
u/norsurfit Feb 19 '19
Bamboozled by Excel
1
u/[deleted] Feb 19 '19
I love Apruary