Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tim
 
Posts: n/a
Default calculate age using BD and (TODAY)

I would like to have the current age calculated in an excel spread sheet and
am having trouble with the formula. Any help appreciated. TIm
  #2   Report Post  
Bill Ridgeway
 
Posts: n/a
Default

=YEAR(B1)-YEAR(A1)
will give you age in whole number.

Regards.

Bill Ridgeway
Computer Solutions

"Tim" wrote in message
...
I would like to have the current age calculated in an excel spread sheet
and
am having trouble with the formula. Any help appreciated. TIm



  #3   Report Post  
Sandy Mann
 
Posts: n/a
Default

"Bill Ridgeway" wrote in message
...
=YEAR(B1)-YEAR(A1)
will give you age in whole number.


Not quite. Suppose the DoB was 31st December? The *age* would be a year
out for all but one day of the year.

The DATEDIF function will calculate the age. DATEDIF is only in XL2000 Help
but Chip Pearson has a page on his website about it:

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

=DATEDIF(A1,B1,"y")

Note that it takes the arguments: earliest date then later date

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk


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 to calculate a date .. say 34 days from today shaunl Excel Discussion (Misc queries) 5 July 13th 05 02:38 PM
formulas won't calculate Indigo Boy Excel Worksheet Functions 1 May 16th 05 09:53 PM
Count the number of dates in a range that are earlier than today. DeborahS Excel Worksheet Functions 1 March 9th 05 01:54 AM
Excell Files attached to emails are suddenly not readable today. . Debbie Excel Discussion (Misc queries) 1 January 11th 05 06:34 PM
How do I stop today() from updating date on saved spreadsheets? lionmark Excel Discussion (Misc queries) 2 January 4th 05 01:03 AM


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