Forum Discussion
S_N_L_A_
May 23, 2022Copper Contributor
Nested if with threshold and cap
Hi all! New to this site after a week of pulling my hair. I have a case where I've been tasked to calculate an outcome of bonus levels. The % outcome of below is used in another formula - whi...
- May 23, 2022
It could be
=IF(outcome>=cap, capP, IF(outcome>mid, capP + (capP - midP)/(cap-mid)*(outcome-cap), IF(outcome>=thresh., threshP + (midP-threshP)/(mid-thresh.)*(outcome-thresh.), 0 ) ) )
SergeiBaklan
May 23, 2022Diamond Contributor
It could be
=IF(outcome>=cap, capP,
IF(outcome>mid, capP + (capP - midP)/(cap-mid)*(outcome-cap),
IF(outcome>=thresh., threshP + (midP-threshP)/(mid-thresh.)*(outcome-thresh.), 0 ) ) )S_N_L_A_
May 23, 2022Copper Contributor
PRECISELY what I was after - and also managed to clean up some similar formulas.
Utterly grateful for your support!
Utterly grateful for your support!