+ Reply to Thread
Results 1 to 4 of 4

Relevant Quarter

  1. #1
    Registered User
    Join Date
    05-01-2008
    Posts
    46

    Relevant Quarter

    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.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    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 the icon 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!)

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    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.

  4. #4
    Registered User
    Join Date
    05-01-2008
    Posts
    46
    thanks guys!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1