converting days to years & months & days

O

oldLearner57

hi community

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

thanks community for the guidance

:)
 
L

Luke M

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"
 
S

Sean Timmons

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)
 
O

oldLearner57

hi Luke M

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

oldLearner57

Hi Sean Timmons

it works fine, 10s! for your guidance

10s! community as well

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top