ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   converting days to years & months & days (https://www.excelbanter.com/excel-discussion-misc-queries/244369-converting-days-years-months-days.html)

oldLearner57

converting days to years & months & days
 
hi community

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

thanks community for the guidance

:)
--
oldLearner57

Luke M

converting days to years & months & days
 
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"
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"oldLearner57" wrote:

hi community

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

thanks community for the guidance

:)
--
oldLearner57


Sean Timmons

converting days to years & months & 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)

"oldLearner57" wrote:

hi community

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

thanks community for the guidance

:)
--
oldLearner57


oldLearner57

converting days to years & months & days
 
hi Luke M

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


"Luke M" wrote:

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"
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"oldLearner57" wrote:

hi community

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

thanks community for the guidance

:)
--
oldLearner57


oldLearner57

converting days to years & months & days
 
Hi Sean Timmons

it works fine, 10s! for your guidance

10s! community as well

:)
--
oldLearner57


"Sean Timmons" wrote:

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)

"oldLearner57" wrote:

hi community

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

thanks community for the guidance

:)
--
oldLearner57



All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com