Add a Fraction year to Date

Iceshade

Board Regular
Joined
May 22, 2017
Messages
104
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Is there a way to add a fraction years/months to a date?

E.g. H1 = "03/08/2021" + J1 which is "8.75" (where 8.75 is 8 years and 9 months) to give me a new date of "03/05/2029"

Would greatly appreciate any help on this !

Thank you
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hey Iceshade - adding to a date will increase by days at first (you should see this behaviour if you checkout what you're suggesting in an excel spreadsheet).

March 3, 2021 + 8.75 = March 16, 2021.

Also, just to be clear, March 8 2021 + 8.75 years does not equal March 5, 2029.

It seems like you're actually working with months, so your better bet would be to use the =edate() formula, which allows you to add months to your original date.

Excel Formula:
K1: =EDATE(H1,J1*12)
which will give you December 8, 2029 (which is the correct result).
 
Upvote 0
Yep. Use this formula:
Excel Formula:
=EDATE(H1,J1*12)
 
Upvote 1
Gimics,

I think they are using a European date format, so 03/08/21 is really August 3, 2021 and 03/05/2029 is really May 3, 2029.

Also, in your formula, "x" is not multiplication in Excel, "*" is.
So it needs to be:
Excel Formula:
J1*12
not
Excel Formula:
J1x12
 
Upvote 0
Hey Iceshade - adding to a date will increase by days at first (you should see this behaviour if you checkout what you're suggesting in an excel spreadsheet).

March 3, 2021 + 8.75 = March 16, 2021.

Also, just to be clear, March 8 2021 + 8.75 years does not equal March 5, 2029.

It seems like you're actually working with months, so your better bet would be to use the =edate() formula, which allows you to add months to your original date.

Excel Formula:
K1: =EDATE(H1,J1*12)
which will give you December 8, 2029 (which is the correct result).
Haha sorry, I am in Australia so my date format is ddmmyy so my dates read August 3rd 2021 to May 3rd 2029

I'll give this a try - thank you
 
Upvote 0
Hey Iceshade - adding to a date will increase by days at first (you should see this behaviour if you checkout what you're suggesting in an excel spreadsheet).

March 3, 2021 + 8.75 = March 16, 2021.

Also, just to be clear, March 8 2021 + 8.75 years does not equal March 5, 2029.

It seems like you're actually working with months, so your better bet would be to use the =edate() formula, which allows you to add months to your original date.

Excel Formula:
K1: =EDATE(H1,J1*12)
which will give you December 8, 2029 (which is the correct result).

Thanks @Gimics this seems to have done the job. Greatly appreciated. One last thing, not sure if you can do anything about it however - is there a way to show a blank in Column K1 if there is no date in Column H1 ? - It gives me a 0/01/1900 date on blanks
 
Upvote 0
For sure - you could just use a simple IF formula if you'd like:

Excel Formula:
K1: =IF(ISBLANK(H1),"",EDATE(H1,J1*12))
 
Upvote 1
Solution
For sure - you could just use a simple IF formula if you'd like:

Excel Formula:
K1: =IF(ISBLANK(H1),"",EDATE(H1,J1*12))
Perfection ! I haven't touched Excel in so long I really need to keep myself active with it - Can't thank you enough, greatly appreciated.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top