Populate year, month and quarter from entered date

V

Vic

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?
 
M

Mike H

Try these in b1,c1 & d1 respectively

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

Mike
 
R

Rick Rothstein

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top