Next Quarter in Excel

lisa_swinton

New Member
Joined
Sep 2, 2022
Messages
15
Office Version
  1. 365
Platform
  1. Windows
hi All

I'm trying to find a formula that can give the next quarter based on the current quarter

1662104232628.png

This is my formula to generate the current quarter but not finding a simple way
="Q"&INT((MONTH(U2)+2)/3)&"-"&YEAR(U2)

Suggestions welcome I suspect this is a very simple answer I'm just not finding it.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi, is this what you're looking for?
It should always show you the following quarter and its based on today()
Excel Formula:
="Q"&INT((MONTH(DATE(YEAR(TODAY()), ((INT((MONTH(TODAY())-1)/3)+1)*3)+1, 1))+2)/3)&"-"&YEAR(DATE(YEAR(TODAY()), ((INT((MONTH(TODAY())-1)/3)+1)*3)+1, 1))

Alternatively, you could keep your date in U2 and use this
Excel Formula:
="Q"&INT((MONTH(DATE(YEAR(U2), ((INT((MONTH(U2)-1)/3)+1)*3)+1, 1))+2)/3)&"-"&YEAR(DATE(YEAR(U2), ((INT((MONTH(U2)-1)/3)+1)*3)+1, 1))
 
Upvote 0
Excel Formula:
=LET(q, XLOOKUP(LEFT(U2,2),{"Q1","Q2","Q3","Q4"},{"Q2","Q3","Q4","Q1"}),
q & "-" & RIGHT(U2,4)+(q="Q1"))
 
Upvote 0
Hi, is this what you're looking for?
It should always show you the following quarter and its based on today()
Excel Formula:
="Q"&INT((MONTH(DATE(YEAR(TODAY()), ((INT((MONTH(TODAY())-1)/3)+1)*3)+1, 1))+2)/3)&"-"&YEAR(DATE(YEAR(TODAY()), ((INT((MONTH(TODAY())-1)/3)+1)*3)+1, 1))

Alternatively, you could keep your date in U2 and use this
Excel Formula:
="Q"&INT((MONTH(DATE(YEAR(U2), ((INT((MONTH(U2)-1)/3)+1)*3)+1, 1))+2)/3)&"-"&YEAR(DATE(YEAR(U2), ((INT((MONTH(U2)-1)/3)+1)*3)+1, 1))
Hi I think the second one is closer but then can't I use the same to then add +2 quarters, +3 etc I have a table that has space for 14 quarters of data
CSA Date:30-Sep-22
Ref PMR:
Q3-2022Q4-2022Q1-2023Q2-2023Q3-2023Q4-2023Q1-2024
 
Upvote 0
Hi, here's another option you can try:

=LET(d,EDATE(U2,0*3),"Q"&ROUNDUP(MONTH(d)/3,0)&"-"&YEAR(d))

Adjust the bold number for the number of quarters you want to advance the date by i.e. leave as 0 for the current quarter, change to 1 for the next etc.
 
Upvote 0
Using that one is returning a #NAME? Error and I checked that U2 value is set as date format
Hi, here's another option you can try:

=LET(d,EDATE(U2,0*3),"Q"&ROUNDUP(MONTH(d)/3,0)&"-"&YEAR(d))

Adjust the bold number for the number of quarters you want to advance the date by i.e. leave as 0 for the current quarter, change to 1 for the next etc.
 
Upvote 0
Using that one is returning a #NAME? Error

That would suggest that you don't have an up to date 365 version of Excel and are likely missing the Let() function. Without Let() you could try:

="Q"&ROUNDUP(MONTH(EDATE(U2,0*3))/3,0)&"-"&YEAR(EDATE(U2,0*3))

Where you would need to adjust the increment in two places.
 
Upvote 0
Solution
That would suggest that you don't have an up to date 365 version of Excel and are likely missing the Let() function. Without Let() you could try:

="Q"&ROUNDUP(MONTH(EDATE(U2,0*3))/3,0)&"-"&YEAR(EDATE(U2,0*3))

Where you would need to adjust the increment in two places.
That did it, thanks for the help
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

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