Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Need help with formula

On Jan 15, 8:07*pm, joeu2004 wrote:
On Jan 15, 4:00*pm, Gil wrote:

the conditions are a sliding scale based on days accrued. *example:
16-99 days @20% 100-149 days@30% * * * *150-200@40% * * 201+ @50%.
*IF a person
has 155 days on the books, the first 15 are not paid, then the days
between 16-99 are paid at 20% value, the days between 100-149 days are
paid at 40%.


Following the examples athttp://www.mcgimpsey.com/excel/variablerate.html
(which provides alternatives that you might also want to consider), I
think the following would meet your needs:

=round(B1 * sumproduct(--(A1{15,99,149,200}), A1-{15,99,149,200},
{0.2,0.1,0.1,0.1}), 2)

where A1 is the number of sick days, and B1 is the value of a sick day.


worked nicely....thank you
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



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

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"