Forum Discussion
Time formatting in Excel
Thanks JKPieterse and @Peter_Bartholomew. I've attached a two line sample of the challenge. I can't ignore the date aspect because it does interfere with the MM:SS format when I try and analyse it in Tableau. The formula given I can't make work.
If you can look at the attached for 2 mins I'd be grateful.
- JKPieterseMay 22, 2019Silver ContributorI see the problem. Because the time is more than 24 hrs, Excel adds the strange date part in the formula bar. Perhaps you can avoid the problem by formatting the time column as decimal number and then use tabloid to do the time format? Like the others I don't know tableau.
- CHIZLETT123May 23, 2019Copper Contributor
I've followed all of the tips and the MOD formula works to change the number into the MM:SS format but when I then cut and paste it into another column, it reverts back to the 1/1/1900 MM:SS:00 format - I'm really puzzled!
- JKPieterseMay 24, 2019Silver ContributorIn Excel, dates are expressed as a number of days since a starting date. Day 1 is Jan 1, 1900. Time is held as a fraction of a day, so 0.5 equals noon, 1 equals midnight. Your times are more than 24 hours, so you get numbers larger than 1.0, which -in the formula bar- Excel translates to a combination of date and time, even though it shows up in the cell formatted as hours:minutes.
- SergeiBaklanMay 21, 2019Diamond Contributor
Afraid that question is more for Tableau community. Apply General format to the time, you'll see the number. In Excel date is integer part of the number starting from 01 Jan 1900 (=1), and time is decimal part of the number. Thus dates are always will be added if your number is the equivalent of more than 24 hours.