Formula to calculate a year back at month end

Declamatory

Active Member
Joined
Nov 6, 2014
Messages
314
Good day,

I have a date in column CN that shows the last business day in the month. So for February this is 2021-02-26.

I have to report for a year so need in column CM to show the start of the reporting period which would be the first day from a year ago in this case the resulting value would be 2020-03-01

Can somebody help we with a formula that would get that result but also update when future data is pasted into the sheet. So when I do March reporting the the value in CN would be 2021-03-31 and I would need the value in CM to be 2020-02-01

Thank you
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
12,676
Office Version
  1. 365
Platform
  1. Windows
Easiest way would be
Excel Formula:
=EOMONTH(A1,-12)+1
Where A1 contains the reference date.
So when I do March reporting the the value in CN would be 2021-03-31 and I would need the value in CM to be 2020-02-01
I've assumed that it should be 2020-04-01, not 2020-02-01?
 

Watch MrExcel Video

Forum statistics

Threads
1,130,169
Messages
5,640,548
Members
417,151
Latest member
ChickenTenderer

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
Top