PC Review


Reply
Thread Tools Rate Thread

Age computation

 
 
owen.cxy
Guest
Posts: n/a
 
      23rd Jun 2009

Hi, I'm trying to compute age and currently using Excel 2007

On one column, I have the "date of birth column" in the format of
dd/mm/yyyy. On the other I have the "Age column" with the formula shown below:

=DATEDIF(B6,TODAY(),"y")&" years "&DATEDIF(B6,TODAY(),"ym")&" months
"&DATEDIF(B6,TODAY(),"md")&" days"

However, it keeps showing the value of 0 throughout the whole "Age column".
Why is this so and what solutions lies ahead?
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      23rd Jun 2009

Try the below in a new sheet

Put DOB in A1

In B1 enter the below formula

=IF(A1+0=0,"",DATEDIF(A1,TODAY(),"y")&" years "&DATEDIF(A1,TODAY(),"ym")&"
months " & DATEDIF(A1,TODAY(),"md")&" days")

If this post helps click Yes
---------------
Jacob Skaria


"owen.cxy" wrote:

> Hi, I'm trying to compute age and currently using Excel 2007
>
> On one column, I have the "date of birth column" in the format of
> dd/mm/yyyy. On the other I have the "Age column" with the formula shown below:
>
> =DATEDIF(B6,TODAY(),"y")&" years "&DATEDIF(B6,TODAY(),"ym")&" months
> "&DATEDIF(B6,TODAY(),"md")&" days"
>
> However, it keeps showing the value of 0 throughout the whole "Age column".
> Why is this so and what solutions lies ahead?

 
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
Date Computation sylink Microsoft Excel Programming 1 20th Nov 2008 08:00 PM
Tax Computation anyaley via AccessMonster.com Microsoft Access Queries 1 14th May 2007 02:17 PM
What type of pc is best for computation =?Utf-8?B?bWlrZWN1cGVydGlubw==?= Microsoft Excel Misc 3 1st Feb 2007 06:25 AM
.01 or .02 diffrence in computation Dr.How via OfficeKB.com Microsoft Excel Misc 1 30th Sep 2005 12:29 PM
BJT Transitor computation MT00KSTN - Hai Ly Hoang Computer Hardware 2 31st Oct 2003 04:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:48 AM.