How to format time as hours: %of hours

peterv6

Board Regular
Joined
May 16, 2005
Messages
129
Office Version
  1. 365
Excel 2007
I'm trying to create a timesheet. I want to display the elapsed time as hours: % of hours, in other words, 6:30 should be 6.5 hours.

Cells are B2 - sign in time format time - 1:30pm
C2 - sign out time format time - 1:30pm
D2 - elapsed time format time - 13:30

C2-B2 = D2

example:

9:00 - 2:30 = 6:30

What I want is:

9:00 - 2:30 = 6:5

I think this should be a really simple format change, but I've been trying things for quite a while and haven't been able to come up with the correct formatting. Can anyone please help me out?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
If you want D2 to show as decimal hours. Try using the formula =24*(C2-B2), with the cell formatted as General.
 
Upvote 0

Forum statistics

Threads
1,223,975
Messages
6,175,749
Members
452,667
Latest member
vanessavalentino83

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