A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

converting days to years & months & days



 
 
Thread Tools Display Modes
  #1  
Old October 2nd, 2009, 01:19 PM posted to microsoft.public.excel.misc
oldLearner57
external usenet poster
 
Posts: 189
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  
Old October 2nd, 2009, 01:40 PM posted to microsoft.public.excel.misc
Luke M
external usenet poster
 
Posts: 2,672
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  
Old October 2nd, 2009, 01:44 PM posted to microsoft.public.excel.misc
Sean Timmons
external usenet poster
 
Posts: 1,722
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  
Old October 2nd, 2009, 01:50 PM posted to microsoft.public.excel.misc
oldLearner57
external usenet poster
 
Posts: 189
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  
Old October 2nd, 2009, 01:57 PM posted to microsoft.public.excel.misc
oldLearner57
external usenet poster
 
Posts: 189
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:21 AM.


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