converting days to years & months & days

  • Thread starter Thread starter oldLearner57
  • Start date Start date
O

oldLearner57

hi community

how can i convert total 790 days into years, months, days

thanks community for the guidance

:)
 
Assuming you're measuring from today's date as a baseline, and the value of
790 is located in cell A2, formula is:

=DATEDIF(TODAY(),TODAY()+A2,"y")&" years "&
DATEDIF(TODAY(),TODAY()+A2,"ym")&" months
"&DATEDIF(TODAY(),TODAY()+A2,"md")&" days"
 
That would really depend upon which date is yoru start. If you start in
February, your days would be different than if you start in March.

If you want to start from 1/1/1900 (Default start date in Excel), you can
just enter =YEAR(A1)-1900
=MONTH(A2)
=DAY(A2)

If you want from today, then

=YEAR(TODAY()+A1)
=MONTH(TODAY()+A1)
=DAY(TODAY()+A1)
 
hi Luke M

10s! it works fine.
:)
grateful to your guidance
&
thanks! community as well
 
Back
Top