+ Reply to Thread
Results 1 to 5 of 5

Excel formula which counts the day within the quarter

  1. #1
    Registered User
    Join Date
    02-12-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    Question Excel formula which counts the day within the quarter

    Hi

    I have been really struggling to get my head around an formula and I am sure someone on here will be able to help..

    What I would like to do is for a date column (format: DD/MM/YYYY) return the number day it is within the quarter. This will obviously reset each quarter.

    I would like to do this for workdays if possible, but either or would be fine..

    ALL DAYS


    --For example: if the date in the dates column said (01/01/2019) for Q1 would return 1. And (01/02/2019) would return 32... up until the next quarter

    First quarter, Q1: 1 January – 31 March (90 days or 91 days in leap years)
    Second quarter, Q2: 1 April – 30 June (91 days)
    Third quarter, Q3: 1 July – 30 September (92 days)
    Fourth quarter, Q4: 1 October – 31 December (92 days)

    WORKDAYS ONLY (Monday-Friday)

    --- For example: if the date in the dates column said (01/01/2019) for Q1 would return 1. And (07/01/2019) would return 5.. up until the next quarter


    --------------------------------------------------

    The whole point of this exercise is to populate a graph with cumulative values showing the current total in the quarter.
    So:
    X AXIS - Day/or workday within a quarter
    Y AXIS - Cumulative sum

    ---------------------------

    NB: (for extracting the day I usually use the =DAY function)

    Any suggestions?
    Help would be much appreciated

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Excel formula which counts the day within the quarter

    Hi

    Suppose your data in A2:A...

    Try this formula in B2 and drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (for all days)

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Excel formula which counts the day within the quarter

    Suppose Holidays in F2:F20

    For working days you can use this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-12-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    Re: Excel formula which counts the day within the quarter

    Amazing thankyou very much Jose, fixed!

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Excel formula which counts the day within the quarter

    You're welcome. I liked having helped.

    Do not forget to mark this thread as solved.

    Best regards.

+ 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. Count per quarter base on previous quarter.
    By calvinle in forum Excel General
    Replies: 3
    Last Post: 04-19-2018, 03:59 PM
  2. [SOLVED] Getting previous quarter using formula
    By kay007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2016, 09:29 AM
  3. [SOLVED] Excel formula to increase cell quarter based on "seed" value in another column
    By Brawnystaff in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-25-2014, 02:40 PM
  4. Date to quarter formula
    By BradleyN1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2014, 11:07 AM
  5. Need Excel formula to update the datewise counts
    By Vikas_k in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-28-2013, 06:53 AM
  6. Replies: 2
    Last Post: 09-08-2012, 10:51 AM
  7. [SOLVED] Excel formula that counts events after a certain date?
    By micro1330 in forum Excel General
    Replies: 5
    Last Post: 08-24-2005, 08:05 PM

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