Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How do I calculate the number of years between 2 dates

Hi
I need to calculate the age of a person so in one cell i have the persons
dob and in another cell i have a static date ie, 25/12/06 (i'm british). how
do i calculate how old a person born 30/04/73 whould have been on christmas
day this year. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default How do I calculate the number of years between 2 dates

=DATEDIF(dob,christmas,"Y")

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Leisl" wrote in message
...
Hi
I need to calculate the age of a person so in one cell i have the persons
dob and in another cell i have a static date ie, 25/12/06 (i'm british).
how
do i calculate how old a person born 30/04/73 whould have been on
christmas
day this year. Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 174
Default How do I calculate the number of years between 2 dates

If your dob is in A1 and static date in B1

=DATEDIF(A1,B1,"y")

see here for information on DATEDIF function

http://www.cpearson.com/excel/datedif.htm

"Leisl" wrote:

Hi
I need to calculate the age of a person so in one cell i have the persons
dob and in another cell i have a static date ie, 25/12/06 (i'm british). how
do i calculate how old a person born 30/04/73 whould have been on christmas
day this year. Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How do I calculate the number of years between 2 dates

Thank you to both of you. Perfect.

"daddylonglegs" wrote:

If your dob is in A1 and static date in B1

=DATEDIF(A1,B1,"y")

see here for information on DATEDIF function

http://www.cpearson.com/excel/datedif.htm

"Leisl" wrote:

Hi
I need to calculate the age of a person so in one cell i have the persons
dob and in another cell i have a static date ie, 25/12/06 (i'm british). how
do i calculate how old a person born 30/04/73 whould have been on christmas
day this year. Thank you.

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 subtract dates to get a number in years or years & month jude Excel Discussion (Misc queries) 2 August 25th 06 08:02 PM
Calculate number of months between dates steph44haf Excel Worksheet Functions 1 August 15th 06 04:05 PM
Calculate number of years and months employed using hire date and. TryingTime Excel Worksheet Functions 1 June 29th 06 04:26 AM
Function to calculate the number of years, months and days between Vicky Excel Worksheet Functions 2 July 15th 05 04:27 AM
How do you calculate the nth root of a number in Excel 2003? William Excel Worksheet Functions 2 November 17th 04 04:19 PM


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