ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to go to next day in fomula of Time differences ? (https://www.excelbanter.com/excel-worksheet-functions/102911-how-go-next-day-fomula-time-differences.html)

Corey

How to go to next day in fomula of Time differences ?
 
I have the below formula where :
C7= TIME START
C8-=TIME FINISHED


=IF(OR(C5="Choice1",C5="Choice2",C5="Choice3",C5=" Choice4"),C8-C7,"0")*(24)

In the formula, near the END the:
TIME FINISH(C8) is Taken Away(minus) the TIME START(C7)
this gives me the Hours difference when the *24 is used.

I have discovered that if the TIME START is late in one day and the TIME FINISH spills over to the next day, i then get a NEGATIVE(-) value.
How can i get this formula to roll into the next day?


Corey...

Toppers

How to go to next day in fomula of Time differences ?
 
(C8-C7+(C7C8))

i.e.

IF(OR(C5="Choice1",C5="Choice2",C5="Choice3",C5="C hoice4"),C8-C7+(C7C8),"0")*(24)

"Corey" wrote:

I have the below formula where :
C7= TIME START
C8-=TIME FINISHED


=IF(OR(C5="Choice1",C5="Choice2",C5="Choice3",C5=" Choice4"),C8-C7,"0")*(24)

In the formula, near the END the:
TIME FINISH(C8) is Taken Away(minus) the TIME START(C7)
this gives me the Hours difference when the *24 is used.

I have discovered that if the TIME START is late in one day and the TIME FINISH spills over to the next day, i then get a NEGATIVE(-) value.
How can i get this formula to roll into the next day?


Corey..



All times are GMT +1. The time now is 08:53 PM.

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