Hi all,
How does one avoid long if statements. The problem is as follows:
I'm trying to correlate an incentive fee (IFee) to a predetermined level of profit before tax (PBT).
If PBT<=5E6, the IFee = 10% of PBT
If PBT >5E6<=10E6, the IFee = 10.5% of PBT
If PBT >10E6<=15E6, the IFee = 11.5% of PBT
If PBT >15E6<=20E6, the IFee = 13.5% of PBT
If PBT >20E6<=30E6, the IFee = 17.5% of PBT
If PBT >30E6<=50E6, the IFee = 20.0% of PBT
If PBT >50E6, the IFee = 25% of PBT
Can one name a formula and reference the latter within the if statement?
Regards
Rodrigo
How does one avoid long if statements. The problem is as follows:
I'm trying to correlate an incentive fee (IFee) to a predetermined level of profit before tax (PBT).
If PBT<=5E6, the IFee = 10% of PBT
If PBT >5E6<=10E6, the IFee = 10.5% of PBT
If PBT >10E6<=15E6, the IFee = 11.5% of PBT
If PBT >15E6<=20E6, the IFee = 13.5% of PBT
If PBT >20E6<=30E6, the IFee = 17.5% of PBT
If PBT >30E6<=50E6, the IFee = 20.0% of PBT
If PBT >50E6, the IFee = 25% of PBT
Can one name a formula and reference the latter within the if statement?
Regards
Rodrigo