LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculating Salary based on Date Range

I have a need to calculate salary for an individual based on a date range.
The logistics would work like this:

Start Date End Date Salary
01/01/2007 06/17/2007 50,000
06/17/2007 08/04/2007 55,000
08/05/2007 12/31/2007 65,000

For full months from 01/01/2007 to 06/17/2007, I simply need to divide the
salary amount by 12 to get the monthly amount (in this case $4,166.67),
multiply that monthly amount by the number of full months in the range (5 *
4,166.67) $20,833.35, then look at the number of business days in the entire
month of June (which is 21), count the number of business days from the
beginning of June up to and including the 17th (which is 11), take the
monthly salary amount from above of $4,166.67 and convert it do a daily rate
for June ($4,166.67/21=$198.41) and multiply it by the number of actual
business days in June that the person was at that salary
($198.41*11=$2,182.51). Then I add the partial month (June)'s salary of
$2,182.51 to the $20,833.35 for the full months from January up to June to
get the person's salary for that date range, in this case $23,015.86.

I need to do this for each pay period. I had devised a way to calculate the
salary based on a range where the first day of the range was the first of the
month using networkdays and eodate. However, I'm thrown when the date range
starts in the month rather than the 1st. In addition, I'm especially thrown
when neither the start date or end date are at the beginning or end of their
respective months.

Any guidance would be appreciated. I tried to simplify this by calculating
the number of networkdays in the year and finding the proportion of
networkdays in the date range but that convention is not flying with my
superiors. They want the full months counted as 1/12 of annual salary but
partial months calculated based on a proportion of working days.

Thanks in advance for any help or direction.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating data within a date range KeK23 Excel Worksheet Functions 4 September 26th 07 01:30 PM
Calculating for a specific date range Christy P Excel Worksheet Functions 3 April 20th 07 05:55 PM
SUM Range based on date edwardpestian Excel Worksheet Functions 7 June 22nd 06 06:16 PM
Sum based on date range Michael Excel Discussion (Misc queries) 8 March 27th 06 08:25 PM
Calculation based with Range of Date Rao Ratan Singh New Users to Excel 1 January 24th 06 09:05 AM


All times are GMT +1. The time now is 11:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"