Problem in calculating difference between two times

Malhoosh

New Member
Joined
Jan 13, 2014
Messages
2
Hi,
I have a google spreadsheet with :
A1 => 08:00
A2 => 12:00
A3 => formula: = TEXT((A2-A1),"hh"" : ""mm")

The displayed data in A3 is: <style type="text/css"><!-- br {mso-data-placement:same-cell;} --></style>04" : "12

Where did the 12 minutes come from ?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

shyy

Well-known Member
Joined
Nov 6, 2008
Messages
1,484
Cant seem to replicate your problem


Excel 2010
A
248:00
2512:00
2604 : 00
Sheet1
Cell Formulas
RangeFormula
A26=TEXT((A25-A24),"hh"" : ""mm")
 

Malhoosh

New Member
Joined
Jan 13, 2014
Messages
2
Thank you for your reply.
This problem doesn't occur in excel application, it happens in google spreadsheet.
Am I posting in the wrong forum ? :)
 

shyy

Well-known Member
Joined
Nov 6, 2008
Messages
1,484
I only use a real spreadsheet app, JK

Maybe Google's formula or parameters is different from Excel.

Curious why are you using google spreadsheet? There are better alternatives that are free.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,706
Messages
5,833,238
Members
430,198
Latest member
KitaYama

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top