+ Reply to Thread
Results 1 to 5 of 5

Repeat for Annually, Quarterly between 2 dates

  1. #1
    Registered User
    Join Date
    05-30-2021
    Location
    Houston, tx usa
    MS-Off Ver
    365
    Posts
    13

    Repeat for Annually, Quarterly between 2 dates

    Hello experts,

    I am not sure if I will get a response here but thought I would ask anyways to check if an expert has a suggestion/solution.

    I have a file with due dates based on if the frequency is either annually or quarterly.
    If annual, use one formula (in cell D4)
    If quarterly, use another. (in cell D5)

    I want to repeat t for the number of "hits" for annually and quarterly between the Start Date and End Date. I need the result to be in 1 column.

    I assume a solution would be in VBA code (some kind of loop..Im not a programmer). Kindly see the attached file with sample data. After viewing, I think you will be able to see more clearly what I am trying to do. Sorry for any confusion but its better to look at the file to understand completely. The difficult part to me is repeating only between the start date and end date.


    Grateful for your assistance

    Untitled.jpg
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,656

    Re: Repeat for Annually, Quarterly between 2 dates

    First row of Quarterly, due date 30 Aug 2021, why first start with 30 Sep 2021?
    Quang PT

  3. #3
    Registered User
    Join Date
    05-30-2021
    Location
    Houston, tx usa
    MS-Off Ver
    365
    Posts
    13
    Quote Originally Posted by bebo021999 View Post
    First row of Quarterly, due date 30 Aug 2021, why first start with 30 Sep 2021?
    I think it's 60 days after the end of qtr. if its not correct then I could have overlooked something. Let me know if something else doesnt make sense.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,994

    Re: Repeat for Annually, Quarterly between 2 dates

    If a formula based solution is acceptable:
    The formula for description is: =IF(D11="","",IF(A10="Description",A$4,IF(D11-D10>300,A$4,A$5)))
    The formula for frequency and days is: =IF($D11="","",INDEX(B$4:B$5,MATCH($A11,$A$4:$A$5,0)))
    The formula for due date is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Repeat for Annually, Quarterly between 2 dates

    Pl see file. Formulas are from A11:D11.
    No helper columns used. all are copied down.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. [SOLVED] Count Instances of Repeat and Non-Repeat Dates
    By mgs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2015, 09:54 PM
  2. Replies: 1
    Last Post: 03-03-2015, 03:52 AM
  3. Calculate average weekly, monthly, quarterly and annually?
    By gollapinni.karthik in forum Excel General
    Replies: 2
    Last Post: 12-10-2014, 04:40 AM
  4. Converting monthly dates to quarterly dates
    By kirby5050 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-04-2014, 12:40 AM
  5. [SOLVED] Defining Quarterly dates..
    By siobeh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2014, 12:20 PM
  6. quarterly, semi-annually??
    By colonel-shoe in forum Excel General
    Replies: 5
    Last Post: 05-23-2006, 11:28 AM
  7. List employees with hours worked, weekly, quarterly, and annually
    By Steve j. in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 02-18-2005, 10:06 AM

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