Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default calculating ages from dates before 1900


Thanks in advance once again.


I'm trying to caluculate some ages using a formula recommended in some
earlier posts. I like the format given in three numbers, representing
years, months and days.

I'm using this currently.

=DATEDIF(B1,G1,"y") & " " & DATEDIF(B1,G1,"ym")&" "&
DATEDIF(B1,G1,"md")

my problem is, some of the birthdates are before 1900 and I get the
infamous #VALUE for an answer.

Is there a way to use dates before 1899 or so?

Thanks again,

JasonK



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default calculating ages from dates before 1900

Hi Jason,

Look he

http://spreadsheetpage.com/index.php...unctions_xdate

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"JasonK" wrote in message
...

Thanks in advance once again.


I'm trying to caluculate some ages using a formula recommended in some
earlier posts. I like the format given in three numbers, representing
years, months and days.

I'm using this currently.

=DATEDIF(B1,G1,"y") & " " & DATEDIF(B1,G1,"ym")&" "&
DATEDIF(B1,G1,"md")

my problem is, some of the birthdates are before 1900 and I get the
infamous #VALUE for an answer.

Is there a way to use dates before 1899 or so?

Thanks again,

JasonK




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 average ages boxersrfun Excel Discussion (Misc queries) 6 July 16th 08 11:11 AM
Calculating ages and volumes: Macro or formula? Dagonini Excel Programming 2 November 22nd 06 03:01 PM
Calculating ages Lynne Excel Discussion (Misc queries) 1 November 14th 06 03:24 AM
calculating ages pama Excel Worksheet Functions 3 November 7th 06 07:21 PM
Calculating Ages from Birthdates Kendle Excel Discussion (Misc queries) 2 January 6th 05 07:16 PM


All times are GMT +1. The time now is 09:46 AM.

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"