converting a date to "Quarter 3 2023/24"

scotthannaford1973

Board Regular
Joined
Sep 27, 2017
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
Hi

I'd like to be able to show a date as Quarter and fiscal year, so instead of 10/4/24 it would be Q1 2024/25 and 10/12/24 would be Q3 2024/25 etc

so - quarter 1 starts in April.

Any help would be appreciated!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try this, for a date in cell A1:
Excel Formula:
="Q" & IF(MONTH(A1)<=3,4 & " " & YEAR(A1)-1 & "/" & TEXT(A1,"yy"),INT((MONTH(A1)-1)/3) & " " & TEXT(A1,"yyyy") & "/" & TEXT(YEAR(A1)+1,"yy"))

Assuming your dates are in d/m/yyyy format, here are the results for the first day of each month:
1712320988406.png
 
Upvote 0
Try this, for a date in cell A1:
Excel Formula:
="Q" & IF(MONTH(A1)<=3,4 & " " & YEAR(A1)-1 & "/" & TEXT(A1,"yy"),INT((MONTH(A1)-1)/3) & " " & TEXT(A1,"yyyy") & "/" & TEXT(YEAR(A1)+1,"yy"))

Assuming your dates are in d/m/yyyy format, here are the results for the first day of each month:
View attachment 109532
thanks, Joel - that's almost it, but it's doing 2024/05 instead of 2024/25
 
Upvote 0
thanks, Joel - that's almost it, but it's doing 2024/05 instead of 2024/25
Ah! How did I miss that? Minor correction:
Excel Formula:
="Q" & IF(MONTH(A1)<=3,4 & " " & YEAR(A1)-1 & "/" & TEXT(A1,"yy"),INT((MONTH(A1)-1)/3) & " " & TEXT(A1,"yyyy") & "/" & TEXT(EDATE(A1,12),"yy"))

Result:
1712321319012.png


Sorry about that!
 
Upvote 1
Solution
You are welcome.

It may be long, but not really that complicated. Just working out each bit and sewing it all together.
I imagine some brilliant mind here may be able to come up with a more concise solution, but it works!
;)
 
Upvote 0

Forum statistics

Threads
1,215,245
Messages
6,123,842
Members
449,129
Latest member
krishnamadison

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