# Difference btw two times converted to number of hours &

#### jackweidinger

##### New Member
I want to be able to subtract 5:30pm from 9am to get 8.5 hours so I can multiply the 8.5 hrs by hourly wage (i.e. \$10.00/hr) to get \$85.00/day. By doing simple cell subtraction, the 8.5 hr difference is displayed as either 8:30 or 0.44. How does one get a difference of 8.5 instead of 8:30?

Many thanks!

Jack

### Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

#### Scott Huish

##### MrExcel MVP
Multiply your time result by 24
Book4
ABCDE
1Start TimeEnd TimeTotal Hrs.RateTotal Pay
29:00 AM5:30 PM8.510\$ 85.00
Sheet1

#### jackweidinger

##### New Member
Thank you!

Thanks for the help. Pretty simple.

Replies
2
Views
128
Replies
29
Views
2K
Replies
10
Views
2K
Replies
1
Views
73
Replies
5
Views
209

1,136,878
Messages
5,678,305
Members
419,753
Latest member
Sallylwy

### 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.

### Which adblocker are you using?

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

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