Hi
I have a date say 31/7/2008 and I need to return the relevant Quarter, can u help?
Thanks!
Hi
I have a date say 31/7/2008 and I need to return the relevant Quarter, can u help?
Thanks!
Last edited by Kolacube; 12-17-2008 at 09:23 AM.
If that date were in cell A3, then the formula to find the quarter is:
=ROUNDUP(MONTH(A3)/3,0)
==============
If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
depends on when your first 1/4 is
this will give first quarter jan/feb/march
=INT(1+MOD(MONTH(A1)-1,12)/3)
and this if its apr/may/jun
=INT(1+MOD(MONTH(A1)-4,12)/3)
Last edited by martindwilson; 12-17-2008 at 08:38 AM.
thanks guys!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks