Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

How to convert a number to years, months, days?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Biz - 10 Feb 2008 21:04 GMT
I am sure this is pretty simple, but I can't seem to figure it out. I have
this number that I want to convert in years, months, days format. What
formula to use to get the munber 505 converted to that. It is not the
difference between two dates, so I can't use datedif.
thanks.
Tyro - 10 Feb 2008 21:23 GMT
Format the number as a date. Dates are numbers is Excel. Jan 1, 1900 is day
1, Feb 10, 2008 is day 39,488, Dec 31, 9999 is day 2,958,465. So, 505
formatted as a date is 5/19/1901 - May 19, 1901.

Tyro

>I am sure this is pretty simple, but I can't seem to figure it out. I have
> this number that I want to convert in years, months, days format. What
> formula to use to get the munber 505 converted to that. It is not the
> difference between two dates, so I can't use datedif.
> thanks.
Niek Otten - 10 Feb 2008 21:26 GMT
So, what date is the number 505 supposed to mean? In other words, what is your date system?

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

|I am sure this is pretty simple, but I can't seem to figure it out. I have
| this number that I want to convert in years, months, days format. What
| formula to use to get the munber 505 converted to that. It is not the
| difference between two dates, so I can't use datedif.
| thanks.
T. Valko - 10 Feb 2008 21:54 GMT
What result do you expect?

A year can have 365 or 366 days.

A month can have from 28 to 31 days.

Signature

Biff
Microsoft Excel MVP

>I am sure this is pretty simple, but I can't seem to figure it out. I have
> this number that I want to convert in years, months, days format. What
> formula to use to get the munber 505 converted to that. It is not the
> difference between two dates, so I can't use datedif.
> thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.