Converting formula

RPT_22

Board Regular
Joined
Sep 18, 2012
Messages
99
Hi,
I am using a table and need help in converting a formula into minutes
formula =[@[FINISH TIME]]-[@[STARTING TIME]]
Cell I2[FINISH TIME = 10:50:00] - Cell F2 [STARTING TIME = 9:05:00] = K2 [TOTAL TIME 1:45:00]
1. What formula would i use in the table to convert actual time difference into minutes Cell I2-F2=K2
2. What formula would i then use to create a cost value in M2 [ minutes in K2 * $95.00 per hour]

Thank you
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Excel stores Date-Time as a number in days. Time is the decimal portion of the number.
So to get the result in minutes:
Excel Formula:
=( [@[FINISH TIME]]-[@[STARTING TIME]] ) * 24 * 60
(or a straight * 1440 )

Edited:
Your M2 formula is using K2 in minutes so you would need to convert the minutes back to hours and ideally apply some rounding.
Excel Formula:
=K2 / 60 * 95.00
 
Last edited:
Upvote 1
Times in Excel are formatted but underneath they represent the portion of a day, so if you format 1:45:00 as general you will find it has a value of 0.0729167. To convert that to minutes multiply the value in K2 by 1440 (which is the number of minutes in a day).
K2=(I2-F2)*1440 (and format as general or number)
M2=K2*95/60

Book1
EFGHIJKLMN
1
29:05:0010:50:00105166.25
3
4
Sheet1
Cell Formulas
RangeFormula
K2K2=(I2-F2)*1440
M2M2=K2*95/60
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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