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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Converting number of days



 
 
Thread Tools Display Modes
  #1  
Old April 9th, 2009, 03:57 PM posted to microsoft.public.excel.worksheet.functions
Radrays
external usenet poster
 
Posts: 14
Default Converting number of days

How can I convert a number into days, months and possibly years?

I have the number 195.4642 which equals a number in days. I need that
number represented as months and days.

I am currently using XP - Office 2007

Thank you,
Radrays
  #2  
Old April 9th, 2009, 04:19 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default Converting number of days

So how many days do you think are in a month? Doesn't it depend on the date
from which you start counting?

Try =DATEDIF(B1,A1+B1,"y")&" years, "&DATEDIF(B1,A1+B1,"ym")&" months,
"&DATEDIF(B1,A1+B1,"md")&" days"
with your number of days in A1 and the starting date in B1.
--
David Biddulph


"Radrays" wrote in message
...
How can I convert a number into days, months and possibly years?

I have the number 195.4642 which equals a number in days. I need that
number represented as months and days.

I am currently using XP - Office 2007

Thank you,
Radrays



  #3  
Old April 9th, 2009, 06:09 PM posted to microsoft.public.excel.worksheet.functions
Radrays
external usenet poster
 
Posts: 14
Default Converting number of days

Thank you Daivid...it works just fine.

"Radrays" wrote:

How can I convert a number into days, months and possibly years?

I have the number 195.4642 which equals a number in days. I need that
number represented as months and days.

I am currently using XP - Office 2007

Thank you,
Radrays

 




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 12:29 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.