+ Reply to Thread
Results 1 to 17 of 17

Friday

Hybrid View

  1. #1
    Registered User
    Join Date
    10-25-2005
    Posts
    21

    Question Friday

    Hi Jim

    Thanks very much for reply, but what does all this mean.

    I am a new uses seems that my problem will not be sorted.

    Thanks very much anyway

    Winston

  2. #2
    Rowan Drummond
    Guest

    Re: Friday

    Hi Winston

    I have translated Jim's code into a worksheet function. Enter in the
    relevant cell:
    =IF(WEEKDAY(TODAY())<>6,TODAY()-WEEKDAY(TODAY())-1,TODAY())
    Note: this is a volatile function, it will be recalculated everytime you
    open, close, save or change the file so that calculation is triggered.

    Hope this helps
    Rowan

    Winston wrote:
    > Hi Jim
    >
    > Thanks very much for reply, but what does all this mean.
    >
    > I am a new uses seems that my problem will not be sorted.
    >
    > Thanks very much anyway
    >
    > Winston
    >
    >


  3. #3
    Peo Sjoblom
    Guest

    Re: Friday

    Or the shorter

    =INT(TODAY()/7)*7+6


    --

    Regards,

    Peo Sjoblom

    "Rowan Drummond" <rowanzsaNotThis@hotmail.com> wrote in message
    news:OrPkvcf2FHA.2492@TK2MSFTNGP09.phx.gbl...
    > Hi Winston
    >
    > I have translated Jim's code into a worksheet function. Enter in the
    > relevant cell:
    > =IF(WEEKDAY(TODAY())<>6,TODAY()-WEEKDAY(TODAY())-1,TODAY())
    > Note: this is a volatile function, it will be recalculated everytime you
    > open, close, save or change the file so that calculation is triggered.
    >
    > Hope this helps
    > Rowan
    >
    > Winston wrote:
    > > Hi Jim
    > >
    > > Thanks very much for reply, but what does all this mean.
    > >
    > > I am a new uses seems that my problem will not be sorted.
    > >
    > > Thanks very much anyway
    > >
    > > Winston
    > >
    > >




  4. #4
    Roger Govier
    Guest

    Re: Friday

    Hi Peo

    I get the next Friday when I try this, whereas I think the OP wanted the
    previous Friday, if today is not a Friday.

    Maybe
    =TODAY()+CHOOSE(WEEKDAY(TODAY(),-2,-3,-4,-5,-6,0,-1)

    Regards

    Roger Govier


    Peo Sjoblom wrote:
    > Or the shorter
    >
    > =INT(TODAY()/7)*7+6
    >
    >


+ 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