A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date counting formula



 
 
Thread Tools Display Modes
  #1  
Old June 9th, 2004, 10:29 PM
external usenet poster
 
Posts: n/a
Default Date counting formula

What is the formula to count the number of days only
between two dates
  #2  
Old June 9th, 2004, 10:35 PM
Domenic
external usenet poster
 
Posts: n/a
Default Date counting formula

Hi,

try DATEDIF(start_date,end_date,"D")

For example,

=DATEDIF("6/10/2004","6/12/2004","D")

Hope this helps!

In article ,
wrote:

What is the formula to count the number of days only
between two dates

  #3  
Old June 9th, 2004, 10:49 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Date counting formula

Hi
just subtract the date values (and maybe adjust accordingly to include
or exclude these dates).
e.g.
A1=06/01/2004
A2=06/03/2004

Now use the following formula in A3
=A2-A1
and format this cell as number.
This would return '2'. If you only want to count the numbers between
both dates use
=A2-A1-1


--
Regards
Frank Kabel
Frankfurt, Germany


wrote:
What is the formula to count the number of days only
between two dates


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.