Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default using if statement to subtract 24 hours from time still shows as a negative time from both responses under 24 hours


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default using if statement to subtract 24 hours from time still shows as a negative time from both responses under 24 hours

Always use this white space message area to post your query
Never use the subject line as the query, its not meant for that


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default using if statement to subtract 24 hours from time still shows as a negative time from both responses under 24 hours

Hi Richard

It is unclear what you want. You should post the question more explicitly in
the body of the message.
Just guessing, the times may span a 24 hour period.
If so, and with start time in A1 and End time in B1, try
=MOD(B1-A1,1)

--
Regards
Roger Govier

"richard.littlewing" <richard.littlewing@gmail wrote in message
...

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
using if statement to subtract 24 hours from time richard.littlewing Excel Worksheet Functions 2 September 15th 08 12:15 AM
How do I subtract 8 business hours from a date/time value? drew Excel Discussion (Misc queries) 5 July 7th 08 02:33 PM
Subtract hours from a time and get the correct time casey Excel Worksheet Functions 1 June 22nd 08 08:41 PM
Time/Date subtract 24 hours ET902 Excel Discussion (Misc queries) 4 September 12th 06 02:47 PM
Subtract time between certain days/work hours? lisa b. Excel Worksheet Functions 2 July 17th 06 09:26 PM


All times are GMT +1. The time now is 02: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"