Consulting

Results 1 to 3 of 3

Thread: Automatic Friday Week Ending Dates

  1. #1
    VBAX Contributor
    Joined
    Oct 2013
    Posts
    181
    Location

    Automatic Friday Week Ending Dates

    Using Excel 2007

    I would like know if it is possible to have a formula that will automatically enter the date for a Friday Week Ending Date based on a 7-day pay period. In addition, when the next pay period starts the next week, the date would automatically update (update on Saturday) to the new Week Ending date.

    I am trying to use the following formula but Excel 2007 does not adjust for week ending dates on Friday.

    =T1+(7-WEEKDAY(T1,2))


    Example:
    Week Ending Date: 13 Feb 2015
    On Saturday of the next week, the date would automatically be 20 Feb 2015

    Can this be done?
    Thanks for your help

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    How about

    =T1+7-(WEEKDAY(T1+1))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Contributor
    Joined
    Oct 2013
    Posts
    181
    Location
    Thank you for quick reply!

    The formula works great, Thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •