+ Reply to Thread
Results 1 to 3 of 3

Assigning a Date to a Date Period

  1. #1
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    Assigning a Date to a Date Period

    I have individual dates that I need to assign to a 14 day period if they fall within that 14 day period.

    I've attached a workbook example and detailed the formula's outcome below.

    For example, if my date is 12/25/2011, I need the cell next to it to read 1/7/2012. I would need all of the dates 12/25/2011 - 1/7/2012 to read 1/7/2012 in the column adjacent. 1/8/2012 would need to read 1/21/2012 in the column adjacent as well as all the dates 1/8/2012 - 1/21/2012 read 1/21/2012 in the column adjacent. I need the formula to work into perpetuity.

    Any ideas? Any help is appreciated, thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Assigning a Date to a Date Period

    Try this formula in B2 copied down

    =A2-MOD(A2-DATE(2011,12,25),14)+14

    that will work for any date
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    Re: Assigning a Date to a Date Period

    Had to change it to +13 at the end, but other than that, perfect! Thanks longlegs!!

+ 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: 0
    Last Post: 07-25-2013, 10:03 AM
  2. Replies: 2
    Last Post: 06-07-2013, 02:21 PM
  3. [SOLVED] Time as an elapsed value, not date and time or period between two date times
    By stephenbooth_uk in forum Excel General
    Replies: 2
    Last Post: 05-31-2013, 12:50 PM
  4. Assigning period and quarter based on date range. VBA
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2011, 09:04 PM
  5. date between start & end date and return period
    By christy1125 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-04-2011, 03:08 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