Hazarding some thoughts here ..
Illustration in this sample:
http://www.freefilehosting.net/download/NDMzOTA=
Extracting values from a 2 way table.xls
First, set-up a 2-way reference table in say, H2:N7
with col B input values listed in I2:N2 (1-6)
and col C input values in H3:H7 (1-5)
Eg part of the table is shown below,
with col B values: 5, 6 only
(table is populated by inferring the values
from the 2 formulas in your post)
5 6
1 0 0
2 12% 13%
3 13.25% 14.25%
4 15.25% 16.25%
5 16.50% 17.50%
Then, with paired inputs for cols B and C assumed made in B5:C5 down
Place in D5:
=IF(COUNT(B5:C5)<2,"",INDEX($I$3:$N$7,MATCH(C5,$H$ 3:$H$7),MATCH(B5,$I$2:$N$2)))
Copy D5 down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"57Caddy" wrote:
Okay, now I have a more serious question. Say cell B5 equals 6 or greater,
then
=IF(C5=17.5%,5,IF(C5=16.25%,4,IF(C5=14.25%,3,IF (C5=13%,2,IF(C5=0,1,"N/A")))))
and if B5 equals 5 then
=IF(C5=16.5%,5,IF(C5=15.25%,4,IF(C5=13.25%,3,IF (C5=12%,2,IF(C5=0,1,"N/A")))))
and so on down to B5 equaling down to 1 or less.
How do I do this? Forgive me for being kind of a hack.