Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to have Excel cells return age (Y/M/D) based upon DOB

Based upon a date of birth input, can anyone advise how to populate three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 = days)
using Excel functions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default How to have Excel cells return age (Y/M/D) based upon DOB

Hi

Take a look at the undocumented Datedif function as clearly explained at
Chip Pearson's site
http://www.cpearson.com/excel/datedif.htm
--
Regards

Roger Govier


"Rob Roy" <Rob wrote in message
...
Based upon a date of birth input, can anyone advise how to populate
three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 =
days)
using Excel functions?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How to have Excel cells return age (Y/M/D) based upon DOB

=DATEDIF(A1,TODAY(),"Y")&" years "&DATEDIF(A1,TODAY(),"YM")&" months
"&DATEDIF(A1,TODAY(),"MD")&" days"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Rob Roy" <Rob wrote in message
...
Based upon a date of birth input, can anyone advise how to populate three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 = days)
using Excel functions?



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
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
Importing data to excel (newline/carriage return issue) Tandaina Excel Discussion (Misc queries) 7 September 1st 06 03:16 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
Cells User Select Locked after upgrade to Excel 2002 TWilson Excel Discussion (Misc queries) 1 August 5th 05 12:22 PM


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