ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date To Quarter, Plus Next 3 Quarters (https://www.excelbanter.com/excel-worksheet-functions/117394-date-quarter-plus-next-3-quarters.html)

Bob

Date To Quarter, Plus Next 3 Quarters
 
I need to create 4 text labels in the format of qQyy (as in 4Q06).
I can easily determine the current quarter using the formula:

=ROUNDUP(MONTH(NOW())/3,0)&"Q"&RIGHT(YEAR(NOW()),2)
=4Q06

but I'm having trouble coming up with a formula to calculate the next 3
Quarters (1Q07, 2Q07, 3Q07) using the current date as the starting point.

I would greatly appreciate any help. Thanks.
Bob

Bob

Date To Quarter, Plus Next 3 Quarters
 
Sorry, after I displayed my original post, I believe I have now come up with
the solution:

=ROUNDUP(MONTH((NOW())+91)/3,0)&"Q"&RIGHT(YEAR(NOW()+91),2)
=1Q07

=ROUNDUP(MONTH((NOW())+182)/3,0)&"Q"&RIGHT(YEAR(NOW()+182),2)
=2Q07

=ROUNDUP(MONTH((NOW())+273)/3,0)&"Q"&RIGHT(YEAR(NOW()+273),2)
=3Q07


"Bob" wrote:

I need to create 4 text labels in the format of qQyy (as in 4Q06).
I can easily determine the current quarter using the formula:

=ROUNDUP(MONTH(NOW())/3,0)&"Q"&RIGHT(YEAR(NOW()),2)
=4Q06

but I'm having trouble coming up with a formula to calculate the next 3
Quarters (1Q07, 2Q07, 3Q07) using the current date as the starting point.

I would greatly appreciate any help. Thanks.
Bob



All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com