How to apply Choose function using ">" and "<" parameters?

NinaE_11

Board Regular
Joined
Aug 18, 2020
Messages
54
Office Version
  1. 2016
Platform
  1. Windows
Hello!
I'm attempting to calculate a performance-based fee based on Excess Returns. I have a table of fees that would apply to each return, given the under/over performance from the index:
PerfFeeReturnIndexExcess Return
-0.05%​
0.60%​
29.62%​
10.30%​
19.32%​
-0.50%​
0.70%​
25.34%​
29.57%​
-4.22%​
0.50%​
0.80%​
30.20%​
0.08%​
30.12%​
1.50%​
0.90%​
-2.61%​
-8.14%​
5.53%​
2.50%​
1.00%​
-49.33%​
-42.26%​
-7.07%​
3.50%​
1.10%​
-2.18%​
19.11%​
-21.30%​
4.50%​
1.20%​
-19.81%​
-25.16%​
5.35%​
5.50%​
1.30%​
-58.42%​
-72.30%​
13.87%​
6.50%​
1.40%​
-13.96%​
-33.63%​
19.67%​
142.19%​
131.73%​
10.47%​
35.90%​
80.75%​
-44.85%​
37.62%​
17.62%​
20.00%​

I've attempted to use the =CHOOSE function and can get as far as results when there's only one argument (i.e. using >= ), but for those instances where we under-performed index (-4.22%, -7.07%), it returns a #VALUE. If there's a way to combine >= and <= or maybe add a secondary function to get a result from the Perf/Fee table on every +/- return, that would be great. Or maybe I'm using the wrong combination of functions from the beginning and there's a better alternative.

Any guidance is much appreciated, thank you!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi NinaE_11,

You don't say exactly what you're trying to calculate but I'll assume it's a lookup based on matching the Excess Return percentage against the Perf table. You don't have anything less than -0.05% so I've added a very negative with 0% returned. Please also note the maximum is your last table entry.

NinaE_11-2.xlsx
ABCDEFGH
1PerfFeeReturnIndexExcess ReturnFee %
2-99999.00%0.00%29.62%10.30%19.32%1.40%
3-0.05%0.60%25.34%29.57%-4.22%0.00%
4-0.50%0.70%30.20%0.08%30.12%1.40%
50.50%0.80%-2.61%-8.14%5.53%1.30%
61.50%0.90%-49.33%-42.26%-7.07%0.00%
72.50%1.00%-2.18%19.11%-21.30%0.00%
83.50%1.10%-19.81%-25.16%5.35%1.20%
94.50%1.20%-58.42%-72.30%13.87%1.40%
105.50%1.30%-13.96%-33.63%19.67%1.40%
116.50%1.40%142.19%131.73%10.47%1.40%
1235.90%80.75%-44.85%0.00%
1337.62%17.62%20.00%1.40%
Sheet1
Cell Formulas
RangeFormula
H2:H13H2=INDEX($B$2:$B$11,MATCH(G2,$A$2:$A$11,1))
 
Upvote 0
Solution
Hi NinaE_11,

You don't say exactly what you're trying to calculate but I'll assume it's a lookup based on matching the Excess Return percentage against the Perf table. You don't have anything less than -0.05% so I've added a very negative with 0% returned. Please also note the maximum is your last table entry.

NinaE_11-2.xlsx
ABCDEFGH
1PerfFeeReturnIndexExcess ReturnFee %
2-99999.00%0.00%29.62%10.30%19.32%1.40%
3-0.05%0.60%25.34%29.57%-4.22%0.00%
4-0.50%0.70%30.20%0.08%30.12%1.40%
50.50%0.80%-2.61%-8.14%5.53%1.30%
61.50%0.90%-49.33%-42.26%-7.07%0.00%
72.50%1.00%-2.18%19.11%-21.30%0.00%
83.50%1.10%-19.81%-25.16%5.35%1.20%
94.50%1.20%-58.42%-72.30%13.87%1.40%
105.50%1.30%-13.96%-33.63%19.67%1.40%
116.50%1.40%142.19%131.73%10.47%1.40%
1235.90%80.75%-44.85%0.00%
1337.62%17.62%20.00%1.40%
Sheet1
Cell Formulas
RangeFormula
H2:H13H2=INDEX($B$2:$B$11,MATCH(G2,$A$2:$A$11,1))
Brilliant! Thank you so much, ToadStool. You're help has turned my whole day around!
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,909
Members
449,274
Latest member
mrcsbenson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top