Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kimmie B
 
Posts: n/a
Default Convert years to years and days

I want to create a formula that converts years into years and days.

For example, turn 7.65 years to text that reads: 7 years, 237 days.
I want the formula to round the days to the nearest whole number.

I am VERY new at Excel, so please provide explicit instructions.

Thanks in advance for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Convert years to years and days

For normal years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*365,0) & " days"
For Leap Years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*366,0) & " days"

--
Gary''s Student


"Kimmie B" wrote:

I want to create a formula that converts years into years and days.

For example, turn 7.65 years to text that reads: 7 years, 237 days.
I want the formula to round the days to the nearest whole number.

I am VERY new at Excel, so please provide explicit instructions.

Thanks in advance for your help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kimmie B
 
Posts: n/a
Default Convert years to years and days

You're an angel. Thank you.

"Gary''s Student" wrote:

For normal years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*365,0) & " days"
For Leap Years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*366,0) & " days"

--
Gary''s Student


"Kimmie B" wrote:

I want to create a formula that converts years into years and days.

For example, turn 7.65 years to text that reads: 7 years, 237 days.
I want the formula to round the days to the nearest whole number.

I am VERY new at Excel, so please provide explicit instructions.

Thanks in advance for your help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Convert years to years and days

You are very welcome
--
Gary''s Student


"Kimmie B" wrote:

You're an angel. Thank you.

"Gary''s Student" wrote:

For normal years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*365,0) & " days"
For Leap Years:
=INT(A1)&" yrs "&ROUND((A1-INT(A1))*366,0) & " days"

--
Gary''s Student


"Kimmie B" wrote:

I want to create a formula that converts years into years and days.

For example, turn 7.65 years to text that reads: 7 years, 237 days.
I want the formula to round the days to the nearest whole number.

I am VERY new at Excel, so please provide explicit instructions.

Thanks in advance for your help!

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
convert Days to Years, Months, Days Klaudebou Excel Discussion (Misc queries) 3 December 29th 05 10:33 PM
how do I convert a number to number of years, months and days because Excel Worksheet Functions 2 October 12th 05 06:15 PM
Converting number of days to years and months Dave Cobb Excel Worksheet Functions 4 May 24th 05 09:14 PM
Convert # of days to years/days Marlene Mayer Excel Discussion (Misc queries) 3 April 27th 05 02:27 AM
difference between two dates in years, months and days. ruby Excel Worksheet Functions 2 April 4th 05 04:51 PM


All times are GMT +1. The time now is 08:53 PM.

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

About Us

"It's about Microsoft Excel"