Posted to microsoft.public.excel.programming
|
|
formula
One way:
B1: =MIN(A1,20000)*0.03
B2: =MAX(0, A1-20000)*0.02
An alternative that calculates it in one cell:
=SUMPRODUCT(--(A1{0,20000}),(A1-{0,20000}),{0.03,-0.01})
In article ,
"Roy E" <Roy wrote:
I would like to * A1 by .03 up to the first $20,000 but not over. Even if the
amount is under or over $20,000 in one box and the amount that is over
$20,000 * .02 in a other box
Thanks Roy
|