Formula for Dates

K

KC

Cell L4 has a date in it, I'd like a formula that can look at the date and
return the quarter & year. For instance 10/15/2009 would be 3Q2009,
03/12/2010 would be 1Q2010. Thanks very much!
 
M

Mike H

Hi,

I'm not sure what you want, to return the quarter use

=INT((MONTH(A1)-1)/3)+1

to return your string use

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

Mike
 
L

Lars-Åke Aspelin

Cell L4 has a date in it, I'd like a formula that can look at the date and
return the quarter & year. For instance 10/15/2009 would be 3Q2009,
03/12/2010 would be 1Q2010. Thanks very much!

Try this formula:

=INT((MONTH(L4)-1)/3+1)&"Q"&YEAR(L4)

October 15 will be Q4, not Q3, though.

Hope this helps / Lars-Åke
 

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

Similar Threads

Date issues 1
Salary by Qtr Formula 1
date formula help 4
IF and AND formula for date field 6
SUMIF Formula Help 8
IF MAX formula using dates 2
Specific Date from a Range 3
FORMULA NEEDED FOR MONTHS 1

Top