Forum Discussion
Conditional formulas
Please advise
Try this:
=MIN(833,D2)*0.45+MAX(0,D2-833)*0.25
.... but to make a bit more dynamic, I would recommend to replace the "hard coded" numbers 833, 0.45 and 0.25 to absolute cell references. Then your formula could look like this:
=MIN($A$1,D2)*$A$2+MAX(0,D2-$A$1)*$A$3
Then you can set these parameters in on location and use them throughout the sheet without having to adjust (copy/paste) all affected formulae when the parameters change. Your choice, though.
1 Reply
- Riny_van_EekelenPlatinum Contributor
Try this:
=MIN(833,D2)*0.45+MAX(0,D2-833)*0.25
.... but to make a bit more dynamic, I would recommend to replace the "hard coded" numbers 833, 0.45 and 0.25 to absolute cell references. Then your formula could look like this:
=MIN($A$1,D2)*$A$2+MAX(0,D2-$A$1)*$A$3
Then you can set these parameters in on location and use them throughout the sheet without having to adjust (copy/paste) all affected formulae when the parameters change. Your choice, though.