+ Reply to Thread
Results 1 to 2 of 2

Re-arrange date ranges as per a fortnightly date range list

  1. #1
    Registered User
    Join Date
    04-29-2022
    Location
    Australia
    MS-Off Ver
    MS Excel 2016
    Posts
    1

    Re-arrange date ranges as per a fortnightly date range list

    I would like to request assistance in writing a code or a formula where a date range can be rearranged as per a static list of fortnight dates
    Usually I would receive a range of dates and I need to split into the range of fortnights , so that the dates do not overlap or cross over into the next fortnight .




    As an example below.

    Fortnight dates to refer to

    Fortnight Start Date Fortnight End Date
    9/02/2022 22/02/2022
    23/02/2022 8/03/2022
    9/03/2022 22/03/2022
    23/03/2022 5/04/2022
    6/04/2022 19/04/2022
    20/04/2022 3/05/2022
    4/05/2022 17/05/2022
    18/05/2022 31/05/2022
    1/06/2022 14/06/2022
    15/06/2022 28/06/2022
    29/06/2022 12/07/2022


    Raw Data

    Start Date End Date
    12/02/2022 10/04/2022



    Expected Result

    Expected Start Date Expected End Date
    12/02/2022 22/02/2022
    23/02/2022 8/03/2022
    9/03/2022 22/03/2022
    23/03/2022 5/04/2022
    6/04/2022 10/04/2022



    Hopefully someone out there knows how this can be done , either with VBA or even perhaps a formula .

    Thanks in advance ,
    Nyeri
    Last edited by Nyeri; 04-29-2022 at 04:46 PM. Reason: Simplifying it

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: Re-arrange date ranges as per a fortnightly date range list

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Find Most Recent Start Date in a List of Date Ranges
    By vsg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2020, 04:58 PM
  2. Compare date range to list of ranges and identify gaps
    By James Keuning in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2019, 12:05 AM
  3. Replies: 9
    Last Post: 01-16-2018, 06:15 PM
  4. Replies: 8
    Last Post: 01-20-2016, 10:47 AM
  5. [SOLVED] Fortnightly Numbering from Date
    By Knawl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2015, 07:55 AM
  6. Replies: 0
    Last Post: 03-30-2012, 01:56 PM
  7. Replies: 5
    Last Post: 02-10-2012, 12:52 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