Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jscano
 
Posts: n/a
Default Calculate # of Days from one date to another

May be a simple question, but how to I calculate the number of days from Jan
1, 2004 to a another specific date?

Thanks.
  #2   Report Post  
anilsolipuram
 
Posts: n/a
Default


=DATEDIF(C8,D8,"d")

c8, d8 are dates, note that D8 should be greater than c8


--
anilsolipuram
------------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...o&userid=16271
View this thread: http://www.excelforum.com/showthread...hreadid=277226

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 10 Nov 2004 15:09:02 -0800, jscano
wrote:

May be a simple question, but how to I calculate the number of days from Jan
1, 2004 to a another specific date?

Thanks.


=A1-B1

or

=A1 - DATE(2004,1,1)

Be sure to format the result as General (or Number).


--ron
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
How do I calculate EDATE using days not months? pshift Excel Discussion (Misc queries) 4 April 21st 23 09:02 AM
subtracting 30 days from any date. help me Excel Discussion (Misc queries) 1 December 17th 04 05:27 AM
How would I change a date cell to decrease it by business days? CNGracin Excel Discussion (Misc queries) 3 December 15th 04 06:20 PM
How do I use the IF function to calculate date Pulling My Hair Out! Excel Discussion (Misc queries) 1 December 11th 04 12:03 AM
Calculate age as of a date certain Joe S. Excel Discussion (Misc queries) 1 December 9th 04 10:02 PM


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