Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 178
Default Time Fromula

Can anyone advise me if there is a way to calculate negative time in excel.

this is doing my head in, keeps returning ############

Regards
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Time Fromula

Negative time is before the year 1900???
I think you want to change the format of the cell as a number (not a date).
The number will be fractions of days. It your job use this number properly.
You can add a negative number (-4) to todays date 4/6/07 and get 4/2/07.

when ever you add or subtract time the answer must be a number and not a
date or time. It doesn't make sense to subtract 4/7/07 - 4/6/07. The answer
in date time is actually 1/2/1900 because time in excel starts at 1/1/1900.
subtracting 4/7/07 - 4/6/07 is 1 and then you add 1 to 1/1/1900 and get
1/2/1900.


"santaviga" wrote:

Can anyone advise me if there is a way to calculate negative time in excel.

this is doing my head in, keeps returning ############

Regards

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Time Fromula

You change a workbook setting:
tools|options|calculation tab|check 1904 date system

Be aware that any date in this workbook will change by 4 years and a day.

And it this can cause trouble when copying dates between two workbooks that have
the opposite settings.



santaviga wrote:

Can anyone advise me if there is a way to calculate negative time in excel.

this is doing my head in, keeps returning ############

Regards


--

Dave Peterson
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
fromula bar sturgeon Excel Discussion (Misc queries) 2 September 25th 07 03:09 PM
Fromula tboy Excel Discussion (Misc queries) 2 May 29th 07 02:17 PM
Corporated into the same fromula please. Steved Excel Worksheet Functions 5 October 12th 05 12:10 AM
Need a fromula comotoman Excel Discussion (Misc queries) 3 October 3rd 05 05:00 PM
Is there a fromula for TAB? Bill Maxwell Excel Programming 4 January 12th 05 06:28 PM


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