Convert cell containing time to number

tigerdel

Board Regular
Joined
Oct 13, 2015
Messages
145
Office Version
  1. 365
Platform
  1. Windows
I have cells that contain sums of time and I need them to show as 00.00 and not hh.mm

The problem occurs when I have a sum of hours over 24 [for instance the sum of hours for an employee = 50:00 shows as 2.08 if I was to customise to a number]

I know I can do it by adding another cell an converting the hours to numbers but I was wondering if there was a simple way of doing it without having to add additional columns for these formulas and simply for the cell to calculate the hours and then convert it to a number

Thanks for looking
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I have cells that contain sums of time and I need them to show as 00.00 and not hh.mm

The problem occurs when I have a sum of hours over 24 [for instance the sum of hours for an employee = 50:00 shows as 2.08 if I was to customise to a number]
I am having trouble figuring out what you want. What exactly does "I need them to show as 00.00 and not hh.mm" mean. Your example of =50:00 shows as 2.08 is confusing as well... where did the .08 come from. Can you describe, in detail, using an actual example (don't make it an even number of hours), how you are converting your hours to numbers?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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