+ Reply to Thread
Results 1 to 5 of 5

Weekend date with set values

  1. #1
    Registered User
    Join Date
    01-09-2013
    Location
    Essex, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Weekend date with set values

    Hi

    I am trying to pivot source data and need the results in a weekending format. I have inserted a new column next to the date and i need a formula which puts the date into a weekending.

    My date is in C2, i need all days Thursday through to Wedndesday to show as the Wednesday weekending, for exmaple Thursday August 5th 2012 through to Wednesday September 5th needs to show as week ending September 5th. Then Thursday 6th through to Wednesday 12th September will all show as weekending 12th September.

    Can one formula work a whole years worth and can you help?

    Thanks

    Bezza

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Weekend date with set values

    Try this..

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    11-07-2011
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Weekend date with set values

    Hi,

    Are you looking the below kind of dates?
    Dates Days
    10-Jan-13 Thursday
    17-Jan-13 Thursday
    24-Jan-13 Thursday
    31-Jan-13 Thursday
    07-Feb-13 Thursday
    14-Feb-13 Thursday
    21-Feb-13 Thursday

    [Formula =WORKDAY(C2,5) ]

    Thanks,
    SK

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Weekend date with set values

    Hi bezza and welcome to the forum,

    If you are really using a Pivot Table, then you can group your data and select the number of days in the grouping. If the first date is a Sunday and you group by 7 days then you will get a week ending or weekend grouping. See http://www.contextures.com/xlPivot07.html for more specifics and examples. See the attached for an example.
    Attached Files Attached Files
    Last edited by MarvinP; 01-09-2013 at 08:44 AM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    01-09-2013
    Location
    Essex, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Weekend date with set values

    Thanks everyone, it has worked and saved me a whole load of time :o) bonus!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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