Subtracting dates

srosk

Board Regular
Joined
Sep 17, 2018
Messages
132
I have a table with the following headers. I have the values already listed in the 1st and 3rd row. Need to figure out, how to calculate the 2nd row.

last YE3 months1 year3 year5 year10 years
12/31/20183/31/201906/30/201806/30/201606/30/201406/30/2010
06/30/201906/30/201906/30/201906/30/201906/30/201906/30/2019

<tbody>
</tbody>

I tried to use the following for items like the 3-month, but no avail. I believe that it should work for everything but last YE and 3 months.

How do I use a formula to essentially get 12/31 of the previous year? Best way to get the last day of the month, 3 months ago?

Code:
=EDATE(F3,-3)


Thank you kindly, as always :)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,214,847
Messages
6,121,911
Members
449,054
Latest member
luca142

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