display 0,45 as 0:45

robertvdb

Active Member
Joined
Jan 10, 2021
Messages
327
Office Version
  1. 2016
Platform
  1. Windows
I have a sheet which calculates time differences.

So 10:45 minus 10:00 equals 0:45

But my spreadsheet shows 0,45 (European format, so US would be 0.45)

How can I display 0:45 ?
 

Attachments

  • time.png
    time.png
    9.9 KB · Views: 12
Hi,

With 14.23, The formula should give you as a result: 0.599305555555556

Step1 Watch out for your parentheses .... =(INT(B3)/24)+(B3-INT(B3))/14.4
Step2 Format the result with the Custom Format h:mm
 
Upvote 0
Solution

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi,

With 14.23, The formula should give you as a result: 0.599305555555556

Step1
Watch out for your parentheses .... =(INT(B3)/24)+(B3-INT(B3))/14.4
Step2 Format the result with the Custom Format h:mm
yes, I missed on the parentheses. Problem solved and thanks for your support and patience !
 
Upvote 0
Glad to hear you have managed to fix your issue :)
 
Upvote 0
Okay, try this number (date) format:
:[m]
Here is what I get:
Mr Excel Questions 4.xlsm
ABCDEF
1Working HoursStartEndtimelapse
2ColC - ColBValue of ColE
3Monday11-Feb-23 10:00:0011-Feb-23 10:45:000.03125:450.031250
4Tuesday11-Feb-23 23:30:0012-Feb-23 01:15:000.072917:1050.072917
5SUM::1500.104167
Sheet2
Cell Formulas
RangeFormula
E3:E4E3=C3-B3
F3:F5F3=E3
E5E5=SUM(E3:E4)
D3:D4D3=C3-B3
 
Upvote 0
@awoohaw

OP' s actual problem is : Once you type in a cell the number 14.23 ... how do you convert to it the Time 14:23
 
Upvote 0
@awoohaw

OP' s actual problem is : Once you type in a cell the number 14.23 ... how do you convert to it the Time 14:23
He has his answer that you provided. But you are incorrect with what you just said.

OP is doing Date/Time Subtraction and wants it displayed in minutes with a colon. If he changed the requirement I missed it.
And I have no idea if my :[h] post will work in his regional location.

to wit, from Post #1:
"I have a sheet which calculates time differences.

So 10:45 minus 10:00 equals 0:45

But my spreadsheet shows 0,45 (European format, so US would be 0.45)

How can I display 0:45 ?"
 
Upvote 0

Forum statistics

Threads
1,215,490
Messages
6,125,096
Members
449,205
Latest member
ralemanygarcia

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
Back
Top