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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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