#1   Report Post  
Posted to microsoft.public.excel.misc
exsam21
 
Posts: n/a
Default Substracting Dates.


I want excel to count the # of days between 01/20/2006 and 02/28/2006


--
exsam21
------------------------------------------------------------------------
exsam21's Profile: http://www.excelforum.com/member.php...o&userid=22666
View this thread: http://www.excelforum.com/showthread...hreadid=503455

  #2   Report Post  
Posted to microsoft.public.excel.misc
Leith Ross
 
Posts: n/a
Default Substracting Dates.


Hello exsam21,

Example:
A1 = 01/20/2006
A2 = 02/28/2006
A3 = A2-A1

Format A3 as NUMBER with no decimal places. This will be the number of
days.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=503455

  #3   Report Post  
Posted to microsoft.public.excel.misc
Fable
 
Posts: n/a
Default Substracting Dates.


If 1/20/2006 is in cell A1 and 2/28.2006 is in cell B1 the formula would
be
=TEXT((B1-A1),"#")

;)


--
Fable


------------------------------------------------------------------------
Fable's Profile: http://www.excelforum.com/member.php...fo&userid=2185
View this thread: http://www.excelforum.com/showthread...hreadid=503455

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Substracting Dates.

Just subtract one from the other. Excel stores dates as days since 1str jan
1900, so a simple subtraction suffices.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"exsam21" wrote in
message ...

I want excel to count the # of days between 01/20/2006 and 02/28/2006


--
exsam21
------------------------------------------------------------------------
exsam21's Profile:

http://www.excelforum.com/member.php...o&userid=22666
View this thread: http://www.excelforum.com/showthread...hreadid=503455



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
PivotTables - Group Dates, excluding dates Todd1 Excel Discussion (Misc queries) 4 December 10th 05 05:06 PM
US dates to UK?? Bill Excel Worksheet Functions 4 December 8th 05 06:44 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


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