Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Populate year, month and quarter from entered date

A1 = 1/23/2009 date format
I need B1 to show the month 01, C1 to show quarter Q1 and D1 to show the
year 2009.
How do I do this automatically?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Populate year, month and quarter from entered date

Try these in b1,c1 & d1 respectively

=TEXT(A1,"mm")
=INT((MONTH(A1)-1)/3)+1
=TEXT(A1,"yyyy")

Mike

"Vic" wrote:

A1 = 1/23/2009 date format
I need B1 to show the month 01, C1 to show quarter Q1 and D1 to show the
year 2009.
How do I do this automatically?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Populate year, month and quarter from entered date

You can simplify the formula for the quarter just a little bit like this...

=INT((MONTH(A1)+2)/3)

--
Rick (MVP - Excel)


"Mike H" wrote in message
...
Try these in b1,c1 & d1 respectively

=TEXT(A1,"mm")
=INT((MONTH(A1)-1)/3)+1
=TEXT(A1,"yyyy")

Mike

"Vic" wrote:

A1 = 1/23/2009 date format
I need B1 to show the month 01, C1 to show quarter Q1 and D1 to show the
year 2009.
How do I do this automatically?


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
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? misscrf Excel Discussion (Misc queries) 1 December 14th 07 02:59 PM
Need cell formulas to return the day of every Monday in a month based on year entered mikeburg Excel Discussion (Misc queries) 3 June 14th 06 10:07 PM
maturity schedule fixed inc securities by month, quarter and year maturity schedule Excel Worksheet Functions 1 April 1st 06 12:09 AM
Change date to quarter of a year rita Excel Worksheet Functions 1 May 13th 05 12:29 PM
Date formula: return Quarter and Fiscal Year of a date Rob Excel Discussion (Misc queries) 7 May 11th 05 08:48 PM


All times are GMT +1. The time now is 12:17 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"