+ Reply to Thread
Results 1 to 5 of 5

Date formula to select Fridays only.

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Date formula to select Fridays only.

    Hi my working week commences on a Saturday through to Friday,

    I need a formula that will show what the Friday date is within that week if another date is input from within the same week.

    Say I input last Sundays date 27/11/2011, I'd like the formula to return 02/12/2011 (Friday)

    Hope that makes sense.

    BMC

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: Date formula to select Fridays only.

    Hi,

    This will return the friday following the date in A1

    =A1+6-WEEKDAY(A1)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

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

    Re: Date formula to select Fridays only.

    Quote Originally Posted by sweep View Post
    This will return the friday following the date in A1.....
    .....not if A1 is a Saturday.....that will show the day before. If you want the following Friday shown on a Saturday amend formula to

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

  4. #4
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Date formula to select Fridays only.

    Hi Sweep,

    Thanks for that but when I changed the date to last Saturdays date it has returned the Fridays date from the previous week.
    My week runs from Sat-Fri inclusive and I'd like the formula to show the Friday within that range.

    The dateb id like returned would be 02/12/2011 if the 26/11/2011 was input in A1.

    Is that possible?

    Thanks

  5. #5
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Date formula to select Fridays only.

    Thanks daddylonglegs. That's perfect.

    Would be be able to break that formula down for me, or can you suggest and where I can look for some guidance.

    Cheers

+ 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