#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DMJohnson
 
Posts: n/a
Default Time Formula

I need a formula to calculate differance in set times.
Example: 2:39 and 2:49 (m:sec) The problem is negative times display as
######.
Some solutions will be positive and some negative.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Time Formula

Pull=down:

Tools Options... Calculation and check the 1904 data system
--
Gary's Student


"DMJohnson" wrote:

I need a formula to calculate differance in set times.
Example: 2:39 and 2:49 (m:sec) The problem is negative times display as
######.
Some solutions will be positive and some negative.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default Time Formula

Tools Options... Calculation and check the 1904 data system

Note that this will cause existing dates to be 4 years and a day
off.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Gary''s Student" wrote
in message
...
Pull=down:

Tools Options... Calculation and check the 1904 data system
--
Gary's Student


"DMJohnson" wrote:

I need a formula to calculate differance in set times.
Example: 2:39 and 2:49 (m:sec) The problem is negative times
display as
######.
Some solutions will be positive and some negative.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Time Formula

Hi

You could cheat!!
If times are in A1 and B1,
in C1
=IF(A1B1,1,-1) and hide the column
In D1
=MAX(A1:B1)-MIN(A1:B1)
Use FormatConditional FormatFormula Is =A1<B1
Format cells as Red

To get the total time, then use
=SUMPRODUCT(C1:C100,D1:D100)

--
Regards

Roger Govier



DMJohnson wrote:
I need a formula to calculate differance in set times.
Example: 2:39 and 2:49 (m:sec) The problem is negative times display
as ######.
Some solutions will be positive and some negative.



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
Time formula, complicated? magecca Excel Discussion (Misc queries) 5 December 2nd 05 04:51 PM
How do I write the formula to calculate someones time worked deusy Excel Worksheet Functions 3 November 16th 05 08:49 PM
Formula is entering a default time when it comes across an empty cell.. Howie Excel Worksheet Functions 10 November 16th 05 11:34 AM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 26th 05 11:53 PM
time formula question... Greg Excel Discussion (Misc queries) 5 February 25th 05 10:11 AM


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