Quarter-End Date

MrSamExcel

Board Regular
Joined
Apr 6, 2016
Messages
51
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I'd like a formula that returns the latest calendar quarter end Month and Year in the format "MMYY", based on today's date w/out referencing any other cell.
ex) If I open the spreadsheet on 11/17/17, the formula result would be 0917
On 1/5/18, result would be 1217
On 4/17/18, result would be 0318
On 6/29/18, result would be 0318
On 7/1/18, result would be 0618

If it helps, I currently use the following formula to return the last calendar quarter date in format "M/DD/YYYY":
=DATE(YEAR(TODAY()),FLOOR(MONTH(TODAY())-1,3)+1,0)
as of 11/17/17, result is 9/30/2017 [note the formula does not require any cell references]

Thanks.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Just wrap your current formula in the TEXT function, i.e.
Rich (BB code):
=TEXT(DATE(YEAR(TODAY()),FLOOR(MONTH(TODAY())-1,3)+1,0),"mmyy")
 
Last edited:
Upvote 0
Solution
Perfect, thanks!
I thought that was exactly what I unsuccessfully tried first but apparently I made a mistake.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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