Results 1 to 3 of 3

Thread: How to calculate pay period between interval of 15 days

  1. #1
    Join Date
    Jan 2012
    Posts
    15

    How to calculate pay period between interval of 15 days

    How do I calculate the number of pay periods between two dates, if a person is paid on the 1st and 15th of every month.

  2. #2
    Join Date
    Jul 2011
    Posts
    440

    Re: How to calculate pay period between interval of 15 days

    I'm breaking the solution up into three formulas that need to be added so you can understand the solution. You can combine the 3 formula into 1 after you verify the formulas are correct. I'm assuming if the start date is the 15th or the end data is the 15th these are pay dates and will be included in the answer. If not the formula in B3 need a minor adjustment.
    • A1 = 4/10/08
    • A2 = 5/20/08

    Put in column B the following :
    • B1 - the number of years * 2 pay periods per month). Partial years will be
    • compensated using the formula in B2 =24*(YEAR(A2)-YEAR(A1))
    • B2 - The number of months * 2. Can be negative if Start month is after end
    • month. This wil compensate for a partial year =2*(MONTH(A2)-MONTH(A1)-1)
    • B3 - the pay periods in a partial month : =LOOKUP(DAY(A1),{1,2,16;2,1,0})+LOOKUP(A2,{1,15;1, 2})

    The answer is the sum of these 3 formulas.

  3. #3
    Join Date
    Jul 2011
    Posts
    434

    Re: How to calculate pay period between interval of 15 days

    To calculate the elapsed time between two dates, we can subtract two dates and give us the days passed. It has to put the cell where the subtraction is effected GENERAL cell format. Excel uses a system to work with dates of assigning to each date a serial number starting with 1-Jan-1900. So by subtracting two dates gives the number of days between them. In Excel there is a formula, not documented in the help, not listed in the wizard of functions, called: = DATEDIF (start date, end date, type).

Similar Threads

  1. Replies: 5
    Last Post: 23-02-2012, 12:11 PM
  2. Calculate Working days in MySql
    By DeMario in forum Software Development
    Replies: 4
    Last Post: 06-11-2009, 06:00 PM
  3. find period in days / hours excluding weekdays between two days?
    By Segvoia in forum Software Development
    Replies: 3
    Last Post: 19-06-2009, 11:17 AM
  4. Windows Vista Trial Period Extension for 120 Days
    By FaMe FacToR in forum Tips & Tweaks
    Replies: 2
    Last Post: 17-05-2009, 07:24 PM
  5. How to calculate duration in days
    By aileen in forum Microsoft Project
    Replies: 3
    Last Post: 26-09-2008, 08:28 PM

Tags for this Thread

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
  •  
Page generated in 1,714,104,954.18603 seconds with 17 queries