PC Review


Reply
Thread Tools Rate Thread

Calculating age at different points in time

 
 
xp
Guest
Posts: n/a
 
      3rd Mar 2010
Using 2007, I need to calculate exact ages based on both full and partial
dates that could range from the 1400's to current day. This is for a
genealogy project.

I would like to be able to enter a birth date into a cell which could be
month-day-year if known or month-year if known or just year.

In an adjacent column, say column 2, there would be a list of dates which
would mark various points in time, like census dates, marriage, etc. These
dates could also be month-day-year if known or month-year if known or just
year.

In column 3, 4, and 5, adjacent to column 2, I need formulas that will
calculate the difference in time from birth date to the date in column 2
showing age in years, months, days (example: 35 years, 6 months, 24 days).

I know this is rather complicated to explain, if needed I will gladly try to
explain further. Thanks much in advance for your help!
 
Reply With Quote
 
 
 
 
Frank K
Guest
Posts: n/a
 
      3rd Mar 2010
I used this formula to calculate years, month,days between two dates. Give
it a try

=+YEAR(B1)-YEAR(A1)-IF(OR(MONTH(B1)<MONTH(A1),AND(MONTH(B1)=MONTH(A1),
DAY(B1)<DAY(A1))),1,0)&" years, "&MONTH(B1)-MONTH(A1)+IF(AND(MONTH(B1)
<=MONTH(A1),DAY(B1)<DAY(A1)),11,IF(AND(MONTH(B1)<MONTH(A1),DAY(B1)
>=DAY(A1)),12,IF(AND(MONTH(B1)>MONTH(A1),DAY(B1)<DAY(A1)),-1)))&" months,

"&B1-DATE(YEAR(B1),MONTH(B1)-IF(DAY(B1)<DAY(A1),1,0),DAY(A1))&" days"
--
Frank K


"xp" wrote:

> Using 2007, I need to calculate exact ages based on both full and partial
> dates that could range from the 1400's to current day. This is for a
> genealogy project.
>
> I would like to be able to enter a birth date into a cell which could be
> month-day-year if known or month-year if known or just year.
>
> In an adjacent column, say column 2, there would be a list of dates which
> would mark various points in time, like census dates, marriage, etc. These
> dates could also be month-day-year if known or month-year if known or just
> year.
>
> In column 3, 4, and 5, adjacent to column 2, I need formulas that will
> calculate the difference in time from birth date to the date in column 2
> showing age in years, months, days (example: 35 years, 6 months, 24 days).
>
> I know this is rather complicated to explain, if needed I will gladly try to
> explain further. Thanks much in advance for your help!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Sheet - Calculating Time Differences for Totals Kathy Microsoft Excel Misc 3 14th Jan 2010 10:04 PM
Calculating averages but without the extreme/exceptional data points davy Microsoft Excel Misc 2 10th Jul 2007 12:24 AM
Re: Daylight Saving Time (DST) and calculating time difference. Chip Pearson Microsoft Excel Programming 1 17th Jan 2007 03:35 PM
calculating timesheet, time-in/time-out = total hours & minutes, . =?Utf-8?B?U3RldmUgTGluZHNheQ==?= Microsoft Excel Worksheet Functions 13 8th Nov 2006 03:45 PM
Calculating hours between two points in time John Pierce Microsoft Excel Programming 1 5th Nov 2005 04:01 AM


Features
 

Advertising
 

Newsgroups
 


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