+ Reply to Thread
Results 1 to 4 of 4

Return weekending in advance based on number of weeks

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Return weekending in advance based on number of weeks

    Hello,

    I have a question on how to return a Sunday Weekending based on the number of weeks in column A1. For example, if column A1 = 4 then I need to return weekening in column B1 as 03/06/2014 if today is 02/17/2014.

    Thanks for your help.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Return weekending in advance based on number of weeks

    So you have two inputs:
    1) TODAY
    2) Number of weeks

    And you want to find the sunday of the week ending a number of weeks from today, right?

    Well, basically I'd do something like this:
    Given:
    A1 = number_of_weeks
    Then:
    B1 = TODAY() + A1 *7

    And then modify up/down to message to the week-ending date.

    What's the rule for that anyway? Do you want the Sunday or Friday closest to then either way, or the first after that, or the last one before the "target date"?

    Your example is "four weeks from today", but the example output is the thursday of week-after-next, a mere 17 days away.

  3. #3
    Forum Contributor
    Join Date
    01-22-2014
    Location
    genoa, italy
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: Return weekending in advance based on number of weeks

    hi,
    do you really mean 03/06/2014, or 03/16/2014 ?
    rgds,
    AL

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

    Re: Return weekending in advance based on number of weeks

    Try this formula

    =TODAY()+A1*7-WEEKDAY(TODAY()-1)
    Audere est facere

+ 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. number of days based of number of weeks
    By trainingday in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2012, 03:28 PM
  2. Replies: 4
    Last Post: 10-15-2012, 07:38 AM
  3. [SOLVED] Return a weekending date on a Friday
    By KiwiMyg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2012, 07:53 PM
  4. Highlight a date cell 3 weeks in advance
    By donjjjordan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-17-2011, 12:07 PM
  5. [SOLVED] can excel flagup in advance of a date, say 6 weeks
    By natty in forum Excel General
    Replies: 2
    Last Post: 07-12-2005, 06:05 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