leopardhawk
Well-known Member
- Joined
- May 31, 2007
- Messages
- 611
- Office Version
- 2016
- Platform
- Windows
My formula below works when the value in F69 is higher than the value in E27. However, if the value in F69 is lower than the value in E27, it is returning an amount that is higher than D27 and for the purposes of this workbook, this will not work. This is the problem that I am having trouble figuring out. Here is the formula:
The formula itself is in cell F73 on my sheet (if that matters).
Currently, the value in D27 is 7494, the value in F69 is zero (0) and the value in E27 is 37790. The maximum value that should ever be shown in F73 is 7494. With the value in F69 at 0, the value being returned in F73 is 13162.5 which is way too high. I think I know why this amount is being returned but I can't find a way to do it correctly.
So, I am hoping someone might be able to help me to show the maximum in F73 at 7494 and the minimum value at 0, regardless of the value in F69??
This is my conundrum.
Appreciate any help.
Code:
=MAX(0,('effective tax rate'!D27-(F69-'effective tax rate'!E27)*0.15))
The formula itself is in cell F73 on my sheet (if that matters).
Currently, the value in D27 is 7494, the value in F69 is zero (0) and the value in E27 is 37790. The maximum value that should ever be shown in F73 is 7494. With the value in F69 at 0, the value being returned in F73 is 13162.5 which is way too high. I think I know why this amount is being returned but I can't find a way to do it correctly.
So, I am hoping someone might be able to help me to show the maximum in F73 at 7494 and the minimum value at 0, regardless of the value in F69??
This is my conundrum.
Appreciate any help.