Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default date & time formulas HELP !!

Hi -
i have to find out how long did it take to solve a case. the formaul is
(time completed) - (time created) my problem is when files are closed at
midnight because of the format ... any ideas how to fix it???

Column A = time created
Column B = time completed
Column C = Duration (in hours only)

timeCreated timeCompleted Duration
04/07/2010 15:00:00 04/07/2010 00:00:00 should be 9:00:00

Cheers,
Mayte
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default date & time formulas HELP !!

04/07/2010 15:00:00 is bigger than 04/07/2010 00:00:00

Try

04/07/2010 23:59:59 in A1 and 00:00:01 in cell B1 and try formula A1+B1

04/07/2010 23:59:59 is followed by 04/08/2010 00:00:00


So the below formula should work fine.
=B1-A1

and format the formula cell to [h]:mm:ss


"Mayte" wrote:

Hi -
i have to find out how long did it take to solve a case. the formaul is
(time completed) - (time created) my problem is when files are closed at
midnight because of the format ... any ideas how to fix it???

Column A = time created
Column B = time completed
Column C = Duration (in hours only)

timeCreated timeCompleted Duration
04/07/2010 15:00:00 04/07/2010 00:00:00 should be 9:00:00

Cheers,
Mayte

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default date & time formulas HELP !!

it wooooooooooooorks!!!!

thanks mate!
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
date / time format - and nested formulas selecting from a range NinasNumber Excel Discussion (Misc queries) 3 August 20th 09 07:32 AM
Time & Date Formulas Karen Excel Worksheet Functions 6 May 11th 09 01:30 PM
Need formulas to pull date and time from 1 cell to 2 Dan B Excel Worksheet Functions 6 November 8th 08 02:56 AM
formulas using date/time formats returning #value Liesel Excel Discussion (Misc queries) 7 June 20th 06 06:13 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


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