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.