ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula in excel to track times between two different dates ? (https://www.excelbanter.com/excel-worksheet-functions/72884-formula-excel-track-times-between-two-different-dates.html)

bmg

formula in excel to track times between two different dates ?
 
i want to figure out the hours between two different times even if they go
into the next day ?

Peo Sjoblom

formula in excel to track times between two different dates ?
 
start time in A1 and end time in B1

=MOD(B1-A1,1)

or

=B1-A1+(A1B1)

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"bmg" wrote in message
...
i want to figure out the hours between two different times even if they go
into the next day ?



Ron Rosenfeld

formula in excel to track times between two different dates ?
 
On Mon, 20 Feb 2006 20:42:11 -0800, bmg wrote:

i want to figure out the hours between two different times even if they go
into the next day ?


A1: 2/6/06 7:00
A2: 2/9/06 4:45

=A2-A1

Format/Cells/Number Custom Type: [h]

--69


--ron

Biff

formula in excel to track times between two different dates ?
 
Hi!

If the difference is 24 hours or more, you'll have to include dates.

Examples:

A1 = 6:00 PM
B1 = 11:00 AM (next day)

Formula: format the cell as [h]:mm

=B1-A1+(B1<A1)

Returns 17:00

A1 = 2/20/2006 6:00 PM
B1 = 2/21/2006 7:00 PM

Returns 25:00

Biff

"bmg" wrote in message
...
i want to figure out the hours between two different times even if they go
into the next day ?





All times are GMT +1. The time now is 04:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com