I have a cell where I am trying to determine a multiplier from 0 to 1 in column A to then be used to scale a value in column B that produces another value in column C. However if column C is greater than zero the multiplier must be reduced until column C is zero (i.e if column C is zero I want the multiplier to be 1, if it is greater than zero I want the multiplier to be as large as possible to produce a zero in column C). I have a poor attempt at this with the following if statement in column A:
=IF(C1>0,0.95,IF(C1>0,0.9,IF(C1>0,0.85,IF(C1>0,0.8,IF(C1>0,0.75,IF(C1>0,0.7,IF(C1>0,0.65,IF(C1>0,0.6,IF(C1>0,0.55,IF(C1>0,0.5,IF(C1>0,0.45,IF(C1>0,0.4,IF(C1>0,0.35,IF(C1>0,0.3,IF(C1>0,0.25,IF(C1>0,0.2,IF(C1>0,0.15,IF(C1>0,0.1,IF(C1>0,0.05,IF(C1>0,0,1))))))))))))))))))))
However this stops after the first IF and leaves me with 0.95 and does not continue to reduce the multiplier if the value is still greater than zero. I guess the objective I am trying to accomplish is IF C1>0 then 0.95, IF C1 is still>0, 0.9 and so on. If there is a better way to accomplish this I'd love the help.
=IF(C1>0,0.95,IF(C1>0,0.9,IF(C1>0,0.85,IF(C1>0,0.8,IF(C1>0,0.75,IF(C1>0,0.7,IF(C1>0,0.65,IF(C1>0,0.6,IF(C1>0,0.55,IF(C1>0,0.5,IF(C1>0,0.45,IF(C1>0,0.4,IF(C1>0,0.35,IF(C1>0,0.3,IF(C1>0,0.25,IF(C1>0,0.2,IF(C1>0,0.15,IF(C1>0,0.1,IF(C1>0,0.05,IF(C1>0,0,1))))))))))))))))))))
However this stops after the first IF and leaves me with 0.95 and does not continue to reduce the multiplier if the value is still greater than zero. I guess the objective I am trying to accomplish is IF C1>0 then 0.95, IF C1 is still>0, 0.9 and so on. If there is a better way to accomplish this I'd love the help.