+ Reply to Thread
Results 1 to 6 of 6

dates to correspond to pay period

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    bakersfield, ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    dates to correspond to pay period

    hey all first time posting long time viewer. Thanks in advanced for your help. im having trouble making a formula that would generate a pay period for every day of the month ie..

    a b
    1/1/2006 1/16/2006
    1/2/2006 1/16/2006
    1/3/2006...

    col a has the dates, and column b would have the pay period which is every other sunday any help and tips would be great or point me in the right direction. Ive seen many other posts about dates but not quite what im looking for thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: dates to correspond to pay period

    not too sure i understand your requirement, but have you tried playing around with the =WEEKDAY("date",2) function? if this doesnt work, maybe upload a sample workbook that i can take a look at for you?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    bakersfield, ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: dates to correspond to pay period

    thanks for the quick reply
    payend.png

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

    Re: dates to correspond to pay period

    Not sure about your example why does 1/1/2006 show pay period as 1/15/2006 but 14 days later 1/15/2006 also shows 1/15/2006? Assuming you always show the next pay date try this formula assuming date in A1

    =MOD(DATE(2006,1,1)-A1,14)+A1
    Audere est facere

  5. #5
    Registered User
    Join Date
    09-14-2012
    Location
    bakersfield, ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: dates to correspond to pay period

    "1/1/2006" is the day worked and 1/15/2006 is the end payroll date so "1/1/2006" corresponds to "1/15/2006" since thats when the end of the pay period is, "1/2/2006-1/15/2006" all corresponds to "1/15/2006" for the end of the pay period

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

    Re: dates to correspond to pay period

    OK but if 1/15/2006 is the end of the period doesn't the previous period end 14 days before that on 1/1/2006, so I'm suggesting that you aren't consistent there.

    Does my formula give the results you want?

+ 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