+ Reply to Thread
Results 1 to 4 of 4

Thread: Starting work period on a Saturday and ending on a friday

  1. #1
    JLyons
    Guest

    Starting work period on a Saturday and ending on a friday

    I am trying to get this formula to start the work period on a saturday and
    end on a friday (rather than the normal week of Sunday thru Saturday)

    ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+1,"mmmm d")&" -
    "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")

    As is it starts on Sunday and ends on saturday. I tried changing the +1 to a
    -1, but that didn't work.
    What do I need to change to make this happen?

  2. #2
    Bob Phillips
    Guest

    Re: Starting work period on a Saturday and ending on a friday

    ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1),"mmmm
    d")&" -"&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "JLyons" <JLyons@discussions.microsoft.com> wrote in message
    news:38A763A1-E82E-4A99-BD5C-288F12A5ECE1@microsoft.com...
    > I am trying to get this formula to start the work period on a saturday and
    > end on a friday (rather than the normal week of Sunday thru Saturday)
    >
    > ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+1,"mmmm d")&" -
    > "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")
    >
    > As is it starts on Sunday and ends on saturday. I tried changing the +1 to

    a
    > -1, but that didn't work.
    > What do I need to change to make this happen?




  3. #3
    BobT
    Guest

    Re: Starting work period on a Saturday and ending on a friday

    The previous shows a 2 week work period that changes every
    week.

    Try this
    ="Work Period "&TEXT(TODAY()-MOD(TODAY(),14)+7*IF(MOD(TODAY
    (),14)<7,-1,1),"mmmm d")&" - "&TEXT(TODAY()-MOD(TODAY(),14)
    +7*IF(MOD(TODAY(),14)<7,-1,1)+13,"mmmm d, yyyy")

    This one is based on the 1/1/1900 date system.
    If you don't like that, you can also use Iseven or Isodd
    functions to determine what week your new work period
    begins, but is an even longer function.


    >-----Original Message-----
    >="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1),"mmmm
    >d")&" -"&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d,

    yyyy")
    >
    >--
    >
    >HTH
    >
    >RP
    >(remove nothere from the email address if mailing direct)
    >
    >
    >"JLyons" <JLyons@discussions.microsoft.com> wrote in

    message
    >news:38A763A1-E82E-4A99-BD5C-288F12A5ECE1@microsoft.com...
    >> I am trying to get this formula to start the work

    period on a saturday and
    >> end on a friday (rather than the normal week of Sunday

    thru Saturday)
    >>
    >> ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+1,"mmmm

    d")&" -
    >> "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")
    >>
    >> As is it starts on Sunday and ends on saturday. I tried

    changing the +1 to
    >a
    >> -1, but that didn't work.
    >> What do I need to change to make this happen?

    >
    >
    >.
    >


  4. #4
    JLyons
    Guest

    Re: Starting work period on a Saturday and ending on a friday

    Thanks Bob that worked great.

    Is there any way of stopping the dates from changing to the next period once
    the document has been created and we move into the next period?

    "Bob Phillips" wrote:

    > ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1),"mmmm
    > d")&" -"&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "JLyons" <JLyons@discussions.microsoft.com> wrote in message
    > news:38A763A1-E82E-4A99-BD5C-288F12A5ECE1@microsoft.com...
    > > I am trying to get this formula to start the work period on a saturday and
    > > end on a friday (rather than the normal week of Sunday thru Saturday)
    > >
    > > ="Work Period "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+1,"mmmm d")&" -
    > > "&TEXT(TODAY()-WEEKDAY(TODAY(),1)+14,"mmmm d, yyyy")
    > >
    > > As is it starts on Sunday and ends on saturday. I tried changing the +1 to

    > a
    > > -1, but that didn't work.
    > > What do I need to change to make this happen?

    >
    >
    >


+ 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.2.0