No match over 4% since 50% of 2% will be 1% with 3% at 100% total 4% match
awarded.
> > I am trying to create a formula that will create the following:
> > Column E Compensation, Column G Emp contribution, and
[quoted text clipped - 10 lines]
> on the end of the current year, not always 12/31/2008. Also, I assume
> you mean no match over 5% (3% + 2%).
After clarification the match should be calculated from Column G Emp
contribution not Column E Compensation. I will need to include Column D
elected percentage in the formula. If the Column D (elected percentage) is
less than 3% calculate at 100$, but if column D is more than 3%, then 2% is
at 50%.
Should the formula be:
=if(datedif(C2,date(year(today()),12,31),"y") < 21, 0,
> min(G2,D2*3%) + 50%*max(0, min(G2-D2*3%,D2*2%)))
> > I am trying to create a formula that will create the following:
> > Column E Compensation, Column G Emp contribution, and
[quoted text clipped - 10 lines]
> on the end of the current year, not always 12/31/2008. Also, I assume
> you mean no match over 5% (3% + 2%).
joeu2004 - 28 May 2008 07:07 GMT
> After clarification the match should be calculated from Column G Emp
> contribution not Column E Compensation. I will need to include Column D
> elected percentage in the formula. If the Column D (elected percentage) is
> less than 3% calculate at 100$, but if column D is more than 3%, then 2%
> is at 50%.
I assume that "100$" is a typo, and you mean 100%. Also, you do not
say what happens when the elected percentage is __equal__ to 3%. I
will assume you mean "less than or equal to" 3%.
It appears that you are trying to compute a matching percentage, not a
matching amount. Frankly, I don't know why you don't simply compute
the matching amount. It is simple, namely:
E2*min(D2,3%) + 50%*E2*max(0,D2-3%)
But if you insist on computing a matching percentage, try the
following:
min(D2,3%) + 50%*max(0,D2-3%)
If you understand the second formula, note that the first expression
can be simplified to:
E2 * (min(D2,3%) + 50%*max(0,D2-3%))
Plug whichever expression fits your need into the IF formula below:
=if(datedif(C2,date(year(today()),12,31),"y") < 21, 0, expression)
Does that answer your question?
----- original posting -----
> After clarification the match should be calculated from Column G Emp
> contribution not Column E Compensation. I will need to include Column D
[quoted text clipped - 21 lines]
> > on the end of the current year, not always 12/31/2008. Also, I assume
> > you mean no match over 5% (3% + 2%).