Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim
 
Posts: n/a
Default Converting a date in Excel 2002 to a Year/Quarter format

Is there a formula or function that I can use in Excel 2002 to convert a date
to a year/quarter format. For instance if the date said 2/35/2005, I would
like to represent that as 2005Q1 or Q12005, something like that. If someone
has an idea, please share it. Thanks.
  #2   Report Post  
David Jessop
 
Posts: n/a
Default

Hi,

There isn't a format that does this, but try

=YEAR(A1)&"Q"&INT((MONTH(A1)+2)/3)

Regards,

David Jessop

"Jim" wrote:

Is there a formula or function that I can use in Excel 2002 to convert a date
to a year/quarter format. For instance if the date said 2/35/2005, I would
like to represent that as 2005Q1 or Q12005, something like that. If someone
has an idea, please share it. Thanks.

  #3   Report Post  
Jim
 
Posts: n/a
Default

I tried your syntax below and it worked perfectly David! Thank you very much
for your help and quick response!

"David Jessop" wrote:

Hi,

There isn't a format that does this, but try

=YEAR(A1)&"Q"&INT((MONTH(A1)+2)/3)

Regards,

David Jessop

"Jim" wrote:

Is there a formula or function that I can use in Excel 2002 to convert a date
to a year/quarter format. For instance if the date said 2/35/2005, I would
like to represent that as 2005Q1 or Q12005, something like that. If someone
has an idea, please share it. Thanks.

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel Default date for date format smurphy123 Excel Discussion (Misc queries) 3 January 23rd 05 09:39 PM
Converting numbers to date format from csv files FiBee Excel Discussion (Misc queries) 1 January 12th 05 01:30 PM
Excel 2002 date formulas problem Andrew Warren Excel Worksheet Functions 4 January 6th 05 11:35 AM
USING THE DATE FORMAT IN EXCEL teach Excel Discussion (Misc queries) 3 December 14th 04 11:55 PM


All times are GMT +1. The time now is 02:55 PM.

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"