Hello again,
is it possible to search for a value based on a certain conditions bottom up?
I am trying to search an index based on input percentile.
e.g. for 5%, it will be "w index"=22 (because it is closest to but not bigger than 5%) and "e index"=5, because that is the "e index" value with percentile closest to (but not bigger than) 5%.
I could write a code to handle this unless there is a more elegant way - and I am sure there must be!
Thanks in advance
% e index w index
0.18% 0 0
0.36% 0 1
0.53% 0 2
0.71% 0 3
0.89% 1 0
1.07% 0 4
1.25% 0 5
1.43% 0 6
1.60% 0 7
1.78% 2 0
1.96% 0 8
2.14% 0 9
2.32% 0 10
2.50% 0 11
2.67% 3 0
2.85% 4 0
3.03% 5 0
3.21% 0 12
3.39% 0 13
3.57% 0 14
3.74% 0 15
3.92% 0 16
4.10% 0 17
4.28% 0 18
4.46% 0 19
4.63% 0 20
4.81% 0 21
4.99% 0 22
5.17% 0 23
Bookmarks