Time calc involving two days

oomfh

Board Regular
Joined
Feb 17, 2011
Messages
141
I know how to create time calc formulas during the same date - but not when you cross (midnight) into a second date.

Any quick examples would be greatly appreciated . . . . .

I assume there's a formula that covers both scenarios?
 
Now I need to divide $0.00 by h:mm, i.e.,

$263.30/12:15 to get $21.49 . . . but I am gettting $5.16

In other words I need the 12 hrs 15 mins to be interpreted as 12.25
To convert a time value like 12:15 to a decimal value like 12.25, multiply the time value by 24:

A1 = 12:15
B1 = $263.30

So, you would do:

=B1/(A1*24)

Result = 21.4938775510204

And you'll probably want to round that to 2 decimal places:

=ROUND(B1/(A1*24),2)

Result = 21.49

Format as desired.
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,224,561
Messages
6,179,521
Members
452,923
Latest member
JackiG

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