formula for time to 10th of an hour

cblincoln43

Board Regular
Joined
Mar 12, 2002
Messages
206
Im looking for how excell turns minutes into tenth of an hour. As in; if cell A1=5:30pm then cell A1 would read 5.5p or pm.
Im putting in cell..A1=5.5p,(pm)...in cell B1=2.0a,(am). Then in cell C1= the total elapsed time. That will make it past midnight.
.....B1=2.0a..(-)..A1=5.5p....C1=8.5hours.
This message was edited by cblincoln43 on 2002-04-04 09:21
This message was edited by cblincoln43 on 2002-04-04 09:22
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
On 2002-04-04 09:20, cblincoln43 wrote:
Im looking for how excell turns minutes into tenth of an hour. As in; if cell A1=5:30pm then cell A1 would read 5.5p or pm.
Im putting in cell..A1=5.5p,(pm)...in cell B1=2.0a,(am). Then in cell C1= the total elapsed time. That will make it past midnight.
.....B1=2.0a..(-)..A1=5.5p....C1=8.5hours.
This message was edited by cblincoln43 on 2002-04-04 09:21
This message was edited by cblincoln43 on 2002-04-04 09:22

Hi cblincoln43:
cell A2 ... 5:30 PM
cell B2 ... 2:00 AM

cell c2 ... =IF(B2-A2<0,B2-A2+1,B2-A2)*24
format cell C2 as CUSTOM 0.00 "hours"
result

8.50 hours





_________________
Yogi Anand

Edit: Deleted inactive website from hardcoded signature
This message was edited by Yogi Anand on 2003-01-19 14:08
 
Upvote 0

Forum statistics

Threads
1,213,556
Messages
6,114,284
Members
448,562
Latest member
Flashbond

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