+ Reply to Thread
Results 1 to 14 of 14

Formula needed to find the number of days per quarter when start and end dates are given!

  1. #1
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Question Formula needed to find the number of days per quarter when start and end dates are given!

    When start date and end date are given as 1 Apr 2015/ 31 mar 2016. The excel columns for Q1'15, Q2'15,Q3'15 and Q4'15 should populate the number of days per quarter. Am using financial year( Q1 comprises from Apr -Jun). Dates are varying for three year period from 2013-2016. Kindly help with a formula...

  2. #2
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    using microsoft office 2010

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Hi,

    See the attached file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Thanks Cbatrody. But the Q1 days are 90 as per your sheet. But actual days are 91. April - 30, may - 31 and June -30. Why is it wrong?

  5. #5
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    2016 being a leap year.!!

  6. #6
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    It doesn't work fine when we change the dates as Start Date 1-Feb-2015 to 31-Mar-2015. !!

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Hi,

    I have attached the updated file.
    Attached Files Attached Files

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Quote Originally Posted by yemnirmalyem View Post
    It doesn't work fine when we change the dates as Start Date 1-Feb-2015 to 31-Mar-2015. !!
    It does! It calculates number of days in a quarter beginning from the "Start Date" Entered.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Thanks for your help cbatrody. But changing the start date doesn't work. As i said i have various dates starting from Jan-2013 to March 2016. OPLEASE FIND THE attachment for clarification. Thanks
    Attached Files Attached Files

  10. #10
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    For instances where the start date is not the beginning of the month how do you determine the quarter?

    Start Date End Date
    13-Jan-14 31-Mar-15
    1-Apr-14 10-Apr-14
    31-Jan-14 25-Apr-14

  11. #11
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Exclamation Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Quarter is for the months. Like Apr-June 2014 is Q1'14, July-Sep is Q2'14, Oct - Dec is Q3'14 and Jan-Mar 2015 is Q4'14. If it starts at 15 of april 2014. then the quarter should have 15 days less than the normal quarter.

    Month is for determinig quarter and date is to define the number of days .

  12. #12
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Hi,

    See the attached file, I have created a table showing the number of days in each quarter for a particular date range.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    06-03-2015
    Location
    Chennai
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    Thanks a lot cbatrody for the formula..!!

  14. #14
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula needed to find the number of days per quarter when start and end dates are giv

    You are welcome! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 03-19-2014, 12:42 PM
  2. Replies: 1
    Last Post: 08-21-2013, 02:14 PM
  3. Replies: 7
    Last Post: 03-26-2013, 08:32 AM
  4. Restrict Input Start and End Dates to One Quarter
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 03:08 PM
  5. Excel 2007 : Calculating Quarter Start Dates
    By mlh4041 in forum Excel General
    Replies: 2
    Last Post: 10-19-2009, 10:26 AM

Tags for this Thread

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