If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 Calculate pay periods between two dates if paid on 1st and 15th?
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## Calculate pay periods between two dates if paid on 1st and 15th?

#1
August 13th 08, 12:52 AM posted to microsoft.public.excel.misc
 janplan external usenet poster Posts: 2
Calculate pay periods between two dates if paid on 1st and 15th?

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
August 13th 08, 03:16 AM posted to microsoft.public.excel.misc
 T. Valko external usenet poster Posts: 15,768
Calculate pay periods between two dates if paid on 1st and 15th?

http://tinyurl.com/5w2px6

--
Biff
Microsoft Excel MVP

"janplan" > wrote in message
...
> 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?

#3
August 13th 08, 03:48 AM posted to microsoft.public.excel.misc
 joel external usenet poster Posts: 9,101
Calculate pay periods between two dates if paid on 1st and 15th?

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 forulas 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

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
comensated 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

"janplan" wrote:

> 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?

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post calculate remaining pay periods maijiuli Excel Worksheet Functions 5 January 24th 08 10:32 PM How to calculate portfolio returns over different periods of time tfrentz Excel Worksheet Functions 4 January 25th 07 01:27 AM HOW to calculate the interest paid between 2 custom periods? TiDz Excel Worksheet Functions 1 June 30th 06 12:46 PM calculate time periods umba-sr Excel Worksheet Functions 1 February 21st 06 02:13 PM How do I calculate rate when pmt is made at end of periods hsummer Excel Worksheet Functions 1 August 7th 05 10:29 PM

All times are GMT +1. The time now is 05:59 PM.