+ Reply to Thread
Results 1 to 4 of 4

formula for fridays

  1. #1
    Registered User
    Join Date
    02-01-2004
    Location
    New Hampshire
    MS-Off Ver
    2002, 2003
    Posts
    50

    formula for fridays

    i need help w/ a formula please...the formula needs to display the date of friday in the current sunday thru saturday week (this date would change weekly, every saturday after midnight). can this be done?? brian
    Brian

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Maybe =TODAY()+ MOD(7 -WEEKDAY(TODAY()), 7) - 1

    Edit: Or =TODAY() + 5 - MOD(TODAY() - 1, 7)
    Last edited by shg; 09-06-2008 at 06:44 PM.

  3. #3
    Registered User
    Join Date
    02-01-2004
    Location
    New Hampshire
    MS-Off Ver
    2002, 2003
    Posts
    50
    thanks for your help. both formulas give me last weeks friday. yesterday

    No wait! That's right! thank you!
    Last edited by -Brian-H-; 09-06-2008 at 07:10 PM.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Quote Originally Posted by shg View Post
    Maybe =TODAY()+ MOD(7 -WEEKDAY(TODAY()), 7) - 1

    Edit: Or =TODAY() + 5 - MOD(TODAY() - 1, 7)
    I'd always favour the first one, because it works irrespective of date system (1900 or 1904), but you can simplify to

    =TODAY()-WEEKDAY(TODAY())+6

+ 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. Formula for bond price
    By Dracan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 11:17 AM
  2. A formula template
    By ajaysehgal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-07-2013, 06:12 AM
  3. Reset Formula without Editing Formula?
    By Ogey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2007, 08:44 PM
  4. Conditional formula question
    By odditie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2007, 09:47 PM
  5. use cell content as cell address in formula
    By nnsc in forum Excel General
    Replies: 4
    Last Post: 11-05-2006, 03:12 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