Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Please add reference to the Excel function DATEDIF to your help

Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Please add reference to the Excel function DATEDIF to your help

Until MS does...

Chip Pearson has some very nice notes:
http://www.cpearson.com/excel/datedif.htm

Ed wrote:

Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Please add reference to the Excel function DATEDIF to your help

Check out this link...

http://j-walk.com/ss/excel/odd/odd03.htm
And if you have the time this is a pile of excel type fun...
http://j-walk.com/ss/excel/odd/index.htm
--
HTH...

Jim Thomlinson


"Ed" wrote:

Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Please add reference to the Excel function DATEDIF to your help

I have Excel 2k, and this is the entry in Help for DATEDIF:

" ...
DATEDIF
See also

Calculates the number of days, months, or years between two dates. This
function is provided for compatibility with Lotus 1-2-3.

Syntax

DATEDIF(start_date,end_date,unit)

Start_date is a date that represents the first, or starting, date of
the period. Dates may be entered as text strings within quotation marks
(for example, "2001/1/30"), as serial numbers (for example, 36921,
which represents January 30, 2001, if you're using the 1900 date
system), or as the results of other formulas or functions (for example,
DATEVALUE("2001/1/30")). For more information about date serial
numbers, see NOW.

End_date is a date that represents the last, or ending, date of the
period.

Unit is the type of information you want returned.

Unit Returns
"Y" The number of complete years in the period.
"M" The number of complete months in the period.
"D" The number of days in the period.
"MD" The difference between the days in start_date and end_date. The
months and years of the dates are ignored.
"YM" The difference between the months in start_date and end_date. The
days and years of the dates are ignored.
"YD" The difference between the days of start_date and end_date. The
years of the dates are ignored.


Remarks

Microsoft Excel stores dates as sequential serial numbers so that it
can perform calculations on them. Excel stores January 1, 1900, as
serial number 1 if your workbook uses the 1900 date system. If your
workbook uses the 1904 date system, Excel stores January 1, 1904, as
serial number 0 (January 2, 1904, is serial number 1). For example, in
the 1900 date system, Excel stores January 1, 1998, as serial number
35796 because it is 35,795 days after January 1, 1900. Learn more about
how Microsoft Excel stores dates and times.


Excel for Windows and Excel for the Macintosh use different date
systems as their default. For more information, see NOW.
Examples

DATEDIF("2001/1/1","2003/1/1","Y") equals 2, or two complete years in
the period.

DATEDIF("2001/6/1","2002/8/15","D") equals 440, or 440 days between
June 1, 2001, and August 15, 2002.

DATEDIF("2001/6/1","2002/8/15","YD") equals 75, or 75 days between June
1 and August 15, ignoring the years of the dates.

DATEDIF("2001/6/1","2002/8/15","MD") equals 14, or the difference
between 1 and 15 - the day of start_date and the day of end_date
- ignoring the months and the years of the dates.

.... "

I understand this was removed from later versions of Excel, but feel
free to read the above !!

Hope this helps.

Pete

Ed wrote:
Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Please add reference to the Excel function DATEDIF to your help

=datedif() was documented in xl2k's help. But not in xl2002+ or xl97-.



Pete_UK wrote:

I have Excel 2k, and this is the entry in Help for DATEDIF:

" ...
DATEDIF
See also

Calculates the number of days, months, or years between two dates. This
function is provided for compatibility with Lotus 1-2-3.

Syntax

DATEDIF(start_date,end_date,unit)

Start_date is a date that represents the first, or starting, date of
the period. Dates may be entered as text strings within quotation marks
(for example, "2001/1/30"), as serial numbers (for example, 36921,
which represents January 30, 2001, if you're using the 1900 date
system), or as the results of other formulas or functions (for example,
DATEVALUE("2001/1/30")). For more information about date serial
numbers, see NOW.

End_date is a date that represents the last, or ending, date of the
period.

Unit is the type of information you want returned.

Unit Returns
"Y" The number of complete years in the period.
"M" The number of complete months in the period.
"D" The number of days in the period.
"MD" The difference between the days in start_date and end_date. The
months and years of the dates are ignored.
"YM" The difference between the months in start_date and end_date. The
days and years of the dates are ignored.
"YD" The difference between the days of start_date and end_date. The
years of the dates are ignored.

Remarks

Microsoft Excel stores dates as sequential serial numbers so that it
can perform calculations on them. Excel stores January 1, 1900, as
serial number 1 if your workbook uses the 1900 date system. If your
workbook uses the 1904 date system, Excel stores January 1, 1904, as
serial number 0 (January 2, 1904, is serial number 1). For example, in
the 1900 date system, Excel stores January 1, 1998, as serial number
35796 because it is 35,795 days after January 1, 1900. Learn more about
how Microsoft Excel stores dates and times.

Excel for Windows and Excel for the Macintosh use different date
systems as their default. For more information, see NOW.
Examples

DATEDIF("2001/1/1","2003/1/1","Y") equals 2, or two complete years in
the period.

DATEDIF("2001/6/1","2002/8/15","D") equals 440, or 440 days between
June 1, 2001, and August 15, 2002.

DATEDIF("2001/6/1","2002/8/15","YD") equals 75, or 75 days between June
1 and August 15, ignoring the years of the dates.

DATEDIF("2001/6/1","2002/8/15","MD") equals 14, or the difference
between 1 and 15 - the day of start_date and the day of end_date
- ignoring the months and the years of the dates.

... "

I understand this was removed from later versions of Excel, but feel
free to read the above !!

Hope this helps.

Pete

Ed wrote:
Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Please add reference to the Excel function DATEDIF to your help

Yes, after posting this, Dave, I followed the link that Jim posted and
saw John's comments on that - wonder why MS only documented it for XL2k
? After all, it's only in a help file, so it should be easy enough to
continue with it in there for future versions !

Pete

Dave Peterson wrote:
=datedif() was documented in xl2k's help. But not in xl2002+ or xl97-.



Pete_UK wrote:

I have Excel 2k, and this is the entry in Help for DATEDIF:

" ...
DATEDIF
See also

Calculates the number of days, months, or years between two dates. This
function is provided for compatibility with Lotus 1-2-3.

Syntax

DATEDIF(start_date,end_date,unit)

Start_date is a date that represents the first, or starting, date of
the period. Dates may be entered as text strings within quotation marks
(for example, "2001/1/30"), as serial numbers (for example, 36921,
which represents January 30, 2001, if you're using the 1900 date
system), or as the results of other formulas or functions (for example,
DATEVALUE("2001/1/30")). For more information about date serial
numbers, see NOW.

End_date is a date that represents the last, or ending, date of the
period.

Unit is the type of information you want returned.

Unit Returns
"Y" The number of complete years in the period.
"M" The number of complete months in the period.
"D" The number of days in the period.
"MD" The difference between the days in start_date and end_date. The
months and years of the dates are ignored.
"YM" The difference between the months in start_date and end_date. The
days and years of the dates are ignored.
"YD" The difference between the days of start_date and end_date. The
years of the dates are ignored.

Remarks

Microsoft Excel stores dates as sequential serial numbers so that it
can perform calculations on them. Excel stores January 1, 1900, as
serial number 1 if your workbook uses the 1900 date system. If your
workbook uses the 1904 date system, Excel stores January 1, 1904, as
serial number 0 (January 2, 1904, is serial number 1). For example, in
the 1900 date system, Excel stores January 1, 1998, as serial number
35796 because it is 35,795 days after January 1, 1900. Learn more about
how Microsoft Excel stores dates and times.

Excel for Windows and Excel for the Macintosh use different date
systems as their default. For more information, see NOW.
Examples

DATEDIF("2001/1/1","2003/1/1","Y") equals 2, or two complete years in
the period.

DATEDIF("2001/6/1","2002/8/15","D") equals 440, or 440 days between
June 1, 2001, and August 15, 2002.

DATEDIF("2001/6/1","2002/8/15","YD") equals 75, or 75 days between June
1 and August 15, ignoring the years of the dates.

DATEDIF("2001/6/1","2002/8/15","MD") equals 14, or the difference
between 1 and 15 - the day of start_date and the day of end_date
- ignoring the months and the years of the dates.

... "

I understand this was removed from later versions of Excel, but feel
free to read the above !!

Hope this helps.

Pete

Ed wrote:
Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Please add reference to the Excel function DATEDIF to your help

You would think that it would be easy to keep it in the help file. But MS
didn't. Who really knows why?

Pete_UK wrote:

Yes, after posting this, Dave, I followed the link that Jim posted and
saw John's comments on that - wonder why MS only documented it for XL2k
? After all, it's only in a help file, so it should be easy enough to
continue with it in there for future versions !

Pete

Dave Peterson wrote:
=datedif() was documented in xl2k's help. But not in xl2002+ or xl97-.



Pete_UK wrote:

I have Excel 2k, and this is the entry in Help for DATEDIF:

" ...
DATEDIF
See also

Calculates the number of days, months, or years between two dates. This
function is provided for compatibility with Lotus 1-2-3.

Syntax

DATEDIF(start_date,end_date,unit)

Start_date is a date that represents the first, or starting, date of
the period. Dates may be entered as text strings within quotation marks
(for example, "2001/1/30"), as serial numbers (for example, 36921,
which represents January 30, 2001, if you're using the 1900 date
system), or as the results of other formulas or functions (for example,
DATEVALUE("2001/1/30")). For more information about date serial
numbers, see NOW.

End_date is a date that represents the last, or ending, date of the
period.

Unit is the type of information you want returned.

Unit Returns
"Y" The number of complete years in the period.
"M" The number of complete months in the period.
"D" The number of days in the period.
"MD" The difference between the days in start_date and end_date. The
months and years of the dates are ignored.
"YM" The difference between the months in start_date and end_date. The
days and years of the dates are ignored.
"YD" The difference between the days of start_date and end_date. The
years of the dates are ignored.

Remarks

Microsoft Excel stores dates as sequential serial numbers so that it
can perform calculations on them. Excel stores January 1, 1900, as
serial number 1 if your workbook uses the 1900 date system. If your
workbook uses the 1904 date system, Excel stores January 1, 1904, as
serial number 0 (January 2, 1904, is serial number 1). For example, in
the 1900 date system, Excel stores January 1, 1998, as serial number
35796 because it is 35,795 days after January 1, 1900. Learn more about
how Microsoft Excel stores dates and times.

Excel for Windows and Excel for the Macintosh use different date
systems as their default. For more information, see NOW.
Examples

DATEDIF("2001/1/1","2003/1/1","Y") equals 2, or two complete years in
the period.

DATEDIF("2001/6/1","2002/8/15","D") equals 440, or 440 days between
June 1, 2001, and August 15, 2002.

DATEDIF("2001/6/1","2002/8/15","YD") equals 75, or 75 days between June
1 and August 15, ignoring the years of the dates.

DATEDIF("2001/6/1","2002/8/15","MD") equals 14, or the difference
between 1 and 15 - the day of start_date and the day of end_date
- ignoring the months and the years of the dates.

... "

I understand this was removed from later versions of Excel, but feel
free to read the above !!

Hope this helps.

Pete

Ed wrote:
Why is there no reference to this important function for calculating a
persons age

=datedif(A1,TODAY())

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson


--

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
Reference a list to perform a function in Excel matt ashley Excel Worksheet Functions 1 October 4th 06 06:10 PM
Weakness in the Drag Function of Excel 2007 (Beta) Mr. Low Excel Worksheet Functions 0 October 4th 06 01:51 PM
excel add-in function not persisting regexp Excel Discussion (Misc queries) 0 September 19th 06 10:54 PM
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


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