Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
How to return a value between date ranges Mary-Lou Excel Worksheet Functions 7 May 26th 06 10:00 PM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
Format to display date as Quarter Christine Excel Discussion (Misc queries) 5 October 19th 05 03:30 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"