Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 172
Default 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...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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..

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating time differences across two (or more) dates jonewer Excel Discussion (Misc queries) 1 May 11th 06 10:22 AM
Hot key for time? Dave in Des Moines New Users to Excel 2 March 24th 06 04:31 PM
Hot key for time? Dave in Des Moines Excel Worksheet Functions 2 March 24th 06 04:15 PM
Hot key for time? Dave in Des Moines Excel Discussion (Misc queries) 1 March 24th 06 03:46 PM
time sheet drop down lists Steve Excel Discussion (Misc queries) 12 March 18th 06 10:30 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"