#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Date Difference

Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Date Difference

http://www.cpearson.com/excel/datedif.aspx
--
HTH...

Jim Thomlinson


"Maanu" wrote:

Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Date Difference

DATEDIF will do the job.
Take a look at the pictu
http://img535.imageshack.us/img535/2626/nonamey.png
Micky


"Maanu" wrote:

Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default Date Difference

If your DOB is in cell A1:
=DATEDIF(A1,TODAY(),"y")&" years, "&DATEDIF(A1,TODAY(),"ym")&" months,
"&DATEDIF(A1,TODAY(),"md")&" days"

will tell you info as of today. Or, you can replace all the TODAY()
functions with a cell reference (A2):
=DATEDIF(A1,A2,"y")&" years, "&DATEDIF(A1,A2,"ym")&" months,
"&DATEDIF(A1,A2,"md")&" days"

--
Best Regards,

Luke M
"Maanu" wrote in message
...
Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Date Difference

hi
="My Age now is "&DATEDIF(A1,TODAY(),"y")&" Years,
"&DATEDIF(A1,TODAY(),"ym")&" Months and "&DATEDIF(A1,TODAY(),"md")&" Days"

the above formula is all 1 line.

Regards
FSt1

"Maanu" wrote:

Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!


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
Difference betwen Excel Date () Function and System Date Khalil[_2_] Excel Worksheet Functions 2 June 16th 09 01:10 PM
Difference System date and Excel Date function Khalil Excel Worksheet Functions 2 June 16th 09 11:23 AM
Difference between last date of month and given date Nikhil Excel Worksheet Functions 3 June 13th 08 01:03 PM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
Date difference Maxi Excel Worksheet Functions 7 July 28th 05 01:38 PM


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