Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i convert a number of days to years, months & days? SafetyLen Excel Discussion (Misc queries) 1 August 23rd 07 01:34 AM
Problem With Converting Days Months And Years naughtyboy Excel Discussion (Misc queries) 1 August 18th 06 04:43 PM
problem of converting days months and years naughtyboy Excel Worksheet Functions 3 August 7th 06 11:11 AM
Probem Of Converting Days Months And Years naughtyboy Excel Discussion (Misc queries) 0 August 6th 06 10:23 PM
Converting number of days to years and months Dave Cobb Excel Worksheet Functions 4 May 24th 05 09:14 PM


All times are GMT +1. The time now is 12:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"