Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Date-Years-Age of person

I insterted a formula that calculated (Or should have done) for students ages
ata a certain date

I.e need to know if students would be 19 on the 31/8/07

I used =year(31/8/2007)-year(6/9//1988) cell references. The answer came
back 19 years old but of course student would only be 18 on the 31/8/07. I
assume it counts the whole year but need to determine exact age

Thanks

Steve King
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Date-Years-Age of person

Use

=DATEDIF(A1,DATE(2007,8,31),"y")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"K11ngy" wrote in message
...
I insterted a formula that calculated (Or should have done) for students
ages
ata a certain date

I.e need to know if students would be 19 on the 31/8/07

I used =year(31/8/2007)-year(6/9//1988) cell references. The answer came
back 19 years old but of course student would only be 18 on the 31/8/07.
I
assume it counts the whole year but need to determine exact age

Thanks

Steve King



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 524
Default Date-Years-Age of person

Mon, 9 Jul 2007 10:11:24 +0100 from Bob Phillips
:

"K11ngy" wrote in message
...
I insterted a formula that calculated (Or should have done) for students
ages at a a certain date

I used =year(31/8/2007)-year(6/9//1988) cell references. The
answer came back 19 years old but of course student would only be
18 on the 31/8/07. I assume it counts the whole year but need to
determine exact age


Use

=DATEDIF(A1,DATE(2007,8,31),"y")


Just a heads-up: you probably won't find this in Excel help. See Chip
Pearson's article at
http://cpearson.com/excel/datedif.htm

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Date-Years-Age of person

It's in Excel 2000 help, but not any other (sic!).

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Stan Brown" wrote in message
...
Mon, 9 Jul 2007 10:11:24 +0100 from Bob Phillips
:

"K11ngy" wrote in message
...
I insterted a formula that calculated (Or should have done) for students
ages at a a certain date

I used =year(31/8/2007)-year(6/9//1988) cell references. The
answer came back 19 years old but of course student would only be
18 on the 31/8/07. I assume it counts the whole year but need to
determine exact age


Use

=DATEDIF(A1,DATE(2007,8,31),"y")


Just a heads-up: you probably won't find this in Excel help. See Chip
Pearson's article at
http://cpearson.com/excel/datedif.htm

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/



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
Date to years Savage Excel Discussion (Misc queries) 5 December 19th 05 02:50 AM
How do I subtract a date from a date for a sum of total years? Paige Excel Discussion (Misc queries) 4 October 27th 05 03:10 PM
Calculating Age of person on admission date Alan Excel Discussion (Misc queries) 10 October 8th 05 06:30 AM
Trying to get the next date exactly 5 years ago.. Tsjah Excel Worksheet Functions 4 June 28th 05 05:43 PM
calculate no. of years between a date and today's date Sue Excel Worksheet Functions 10 June 14th 05 02:56 AM


All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"