Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Subtracting dates in Excel 2003

I'm trying to subtract dates in E2003, but I'm getting a date as the output:
1/17/2007-11/3/2005 gives me not a number of days but 3/15/1901.

Any suggestions?
--
Thanks!

Pete.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default Subtracting dates in Excel 2003

Pete,

Select the cell with your formula. Click the 'Format' drop down and select
'Cells' and you should have the 'Number' tab selected. Change the format to
a number with no places to the right of the decimal and OK your way out.

Steve


"Pete" wrote in message
...
I'm trying to subtract dates in E2003, but I'm getting a date as the
output:
1/17/2007-11/3/2005 gives me not a number of days but 3/15/1901.

Any suggestions?
--
Thanks!

Pete.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Subtracting dates in Excel 2003

Cool. So why doesn't Office Help mention this tidbit?
--
Thanks!

Pete.


"Steve Yandl" wrote:

Pete,

Select the cell with your formula. Click the 'Format' drop down and select
'Cells' and you should have the 'Number' tab selected. Change the format to
a number with no places to the right of the decimal and OK your way out.

Steve


"Pete" wrote in message
...
I'm trying to subtract dates in E2003, but I'm getting a date as the
output:
1/17/2007-11/3/2005 gives me not a number of days but 3/15/1901.

Any suggestions?
--
Thanks!

Pete.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Subtracting dates in Excel 2003

The help file mentions it in a note at the bottom of "Calculate the
difference between two dates" (Excel 2003). The problem is that Excel is
automatically formatting your calculation as a date, since the underying
cells are dates. This assumption Excel makes is nearly never correct when
running a calculation on two dates.

"Pete" wrote:

Cool. So why doesn't Office Help mention this tidbit?
--
Thanks!

Pete.


"Steve Yandl" wrote:

Pete,

Select the cell with your formula. Click the 'Format' drop down and select
'Cells' and you should have the 'Number' tab selected. Change the format to
a number with no places to the right of the decimal and OK your way out.

Steve


"Pete" wrote in message
...
I'm trying to subtract dates in E2003, but I'm getting a date as the
output:
1/17/2007-11/3/2005 gives me not a number of days but 3/15/1901.

Any suggestions?
--
Thanks!

Pete.




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
Subtracting Dates Terry Bennett Excel Worksheet Functions 7 November 17th 07 11:38 AM
Subtracting Dates sam Excel Discussion (Misc queries) 3 March 2nd 06 12:47 PM
subtracting dates Brian Excel Discussion (Misc queries) 3 October 27th 05 07:54 PM
Subtracting dates: 8/31/05-8/1/05? dstock Excel Discussion (Misc queries) 1 July 26th 05 04:04 PM
subtracting dates to get a age Lori Excel Discussion (Misc queries) 1 February 4th 05 03:49 PM


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