PC Review


Reply
Thread Tools Rate Thread

Convert date to Age

 
 
D G
Guest
Posts: n/a
 
      7th Sep 2011
I need to convert a date of birth to age. However, I need to base it
on Sept 1, 2011. I need to know how old (years only) that person is
on that date. Does anyone know how to do this. Why is September 1,
2011 so important. It allows me to determine if they are eligible(too
young or too old) to play a sport.
 
Reply With Quote
 
 
 
 
Claus Busch
Guest
Posts: n/a
 
      7th Sep 2011
Hi,

Am Wed, 7 Sep 2011 12:25:11 -0700 (PDT) schrieb D G:

> I need to convert a date of birth to age. However, I need to base it
> on Sept 1, 2011. I need to know how old (years only) that person is
> on that date. Does anyone know how to do this. Why is September 1,
> 2011 so important. It allows me to determine if they are eligible(too
> young or too old) to play a sport.


date of birth in A1, Sept 1, 2011 in B1 then:
=DATEDIF(A1,B1,"Y")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
 
Reply With Quote
 
Roger Dodger
Guest
Posts: n/a
 
      18th Sep 2011
What about
enter this in C1
=($B$1-A1)/365.25

B1 is 1-9-11
A1 is date of birth
change format in column C to number with 1 decimal place.


"D G" <(E-Mail Removed)> wrote in message
news:4e3bdf03-9e91-4283-8dfa-(E-Mail Removed)...
>I need to convert a date of birth to age. However, I need to base it
> on Sept 1, 2011. I need to know how old (years only) that person is
> on that date. Does anyone know how to do this. Why is September 1,
> 2011 so important. It allows me to determine if they are eligible(too
> young or too old) to play a sport.



 
Reply With Quote
 
Rich/rerat
Guest
Posts: n/a
 
      18th Sep 2011
Roger Dodger,
If you change the resulting cell to two (2) decimal places, in the cell
format, it would be better. Or better yet, use the "rundown function such
as:
" =rounddown(($B$1-A1)/365.25,0) " (w/o quotes) .

Place minimum age in Cell C1 and using:
" =If(rounddown(($B$1-A1)/365.25,0)<$C$1."InEligible",Eligible) " (w/o
quotes) .

--
Rich/rerat
(RRR News) (message rule)
((Previous Text Snipped to Save Bandwidth When Appropriate))


"Roger Dodger" <(E-Mail Removed)> wrote in message
news:aNjdq.2615$(E-Mail Removed)...
What about
enter this in C1
=($B$1-A1)/365.25

B1 is 1-9-11
A1 is date of birth
change format in column C to number with 1 decimal place.


"D G" <(E-Mail Removed)> wrote in message
news:4e3bdf03-9e91-4283-8dfa-(E-Mail Removed)...
>I need to convert a date of birth to age. However, I need to base it
> on Sept 1, 2011. I need to know how old (years only) that person is
> on that date. Does anyone know how to do this. Why is September 1,
> 2011 so important. It allows me to determine if they are eligible(too
> young or too old) to play a sport.




 
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
Convert date (m/dd/yyyy) in text format into an excel recognised date Rob P Microsoft Excel Programming 3 30th Apr 2010 12:40 AM
Convert a julian gregorian date code into a regular date =?Utf-8?B?Um9iZXJ0?= Microsoft Excel Worksheet Functions 3 13th Jun 2006 07:03 PM
How to convert normal date to Julian date upto milliseconds precision Rajat Microsoft C# .NET 2 21st Mar 2006 06:06 AM
How to Convert Days(Text field) into Date By giving the start date FA Microsoft Access Forms 3 2nd Dec 2005 08:26 PM
How to convert user-defined custom format date string to date value abcabcabc Microsoft VB .NET 1 19th Aug 2005 12:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 AM.