>For a one cell solution, how about:
>
[quoted text clipped - 4 lines]
>This takes 90% of the whole figure, then reduces it by 58% of the amount
>over $711 (so that bit effectively gets 32%), and so on.
That works, but the lookup table may be easier to extend and/or modify.
--ron
>>>From http://www.socialsecurity.gov/OACT/COLA/piaformula.html
>>>There is this paragraph;
[quoted text clipped - 22 lines]
> This takes 90% of the whole figure, then reduces it by 58% of the amount
> over $711 (so that bit effectively gets 32%), and so on.
Got it. That worked perfectly. I understand the 17 and 58, but would not
have come up with that on my own. Very clever, and much appreciated.
(thanks, Ron as well, but I am a bit excel-dyslexic at times, unable to
get the table working)
Joe
Ron Rosenfeld - 11 May 2008 11:07 GMT
>(thanks, Ron as well, but I am a bit excel-dyslexic at times, unable to
>get the table working)
Not sure what you mean by "unable to get the table working"
The table solution is more easily adaptable. Let us say, for example, that you
wanted to add more lines; or change the percentages.
You enter the table in, for example, I1:K3
I J K
1 0 0 90%
2 711 639.9 32%
3 4288 1784.54 15%
Of note, columns I and K are your given data.
Column J is the amount produced by the value in column I.
So the formula in J2: =J1+(I2-I1)*K1
and fill down as needed.
Then you use the equivalent formula:
=VLOOKUP(A1,$I$1:$K$3,2)+(A1-VLOOKUP(A1,$I$1:$K$3,1))*VLOOKUP($A$1,$I$1:$K$3,3)
(You can also select your Table, then Insert/Name/Define and NAME it, to use it
in the formula).
--ron