#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default if statements

I am trying to find a formula/function that will calculate redundancy pay
using the following criteria

Up to 10 years service, 1 month pay per years service.

After 10 years, 1.25 months pay per years service.

After 15 years, 1.5 months pay per years service

Therefore if an individual has 20 years service the firstt 9.99 years would
receive 1 months pay per years service years 10 to 15 would receive 1.25
months pay per years service and 15+ would receive 1.5 months pay per years
service

I hope somenone can help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default if statements

=MIN(service,10)*salary/12+MIN(MAX(service-10,0),5)*salary*1.25/12+MAX(servi
ce-15,0)*salary*1.5/12

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"WaqB" wrote in message
...
I am trying to find a formula/function that will calculate redundancy pay
using the following criteria

Up to 10 years service, 1 month pay per years service.

After 10 years, 1.25 months pay per years service.

After 15 years, 1.5 months pay per years service

Therefore if an individual has 20 years service the firstt 9.99 years

would
receive 1 months pay per years service years 10 to 15 would receive 1.25
months pay per years service and 15+ would receive 1.5 months pay per

years
service

I hope somenone can help



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default if statements


=(MIN(A1,10)+MEDIAN(0,5,A1-10)*1.25+MEDIAN(0,A1-15,99)*1.5)*A2/12

A1=Years service
A2=Annual salary

"Bob Phillips" wrote:

=MIN(service,10)*salary/12+MIN(MAX(service-10,0),5)*salary*1.25/12+MAX(servi
ce-15,0)*salary*1.5/12

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"WaqB" wrote in message
...
I am trying to find a formula/function that will calculate redundancy pay
using the following criteria

Up to 10 years service, 1 month pay per years service.

After 10 years, 1.25 months pay per years service.

After 15 years, 1.5 months pay per years service

Therefore if an individual has 20 years service the firstt 9.99 years

would
receive 1 months pay per years service years 10 to 15 would receive 1.25
months pay per years service and 15+ would receive 1.5 months pay per

years
service

I hope somenone can help




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default if statements

Try

=A2/12*(A1+(MAX(0,A1-10)+MAX(0,A1-15))/4)

A1=year's service
A2=annual salary



"WaqB" wrote:

I am trying to find a formula/function that will calculate redundancy pay
using the following criteria

Up to 10 years service, 1 month pay per years service.

After 10 years, 1.25 months pay per years service.

After 15 years, 1.5 months pay per years service

Therefore if an individual has 20 years service the firstt 9.99 years would
receive 1 months pay per years service years 10 to 15 would receive 1.25
months pay per years service and 15+ would receive 1.5 months pay per years
service

I hope somenone can help

Reply
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
2 IF Statements not mutually exclusive Bev Excel Discussion (Misc queries) 2 August 24th 06 05:23 AM
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
How do I sum percentages calculated from IF statements? Rusty T Excel Worksheet Functions 3 November 9th 05 10:02 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


All times are GMT +1. The time now is 02:37 PM.

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

About Us

"It's about Microsoft Excel"