Lookup in Table based on Two Conditions

D

dme82

I have a table which contains constant values depending on interest rate and
loan term. The top row of the table lists the interest rates and the first
colum lists the loan term such as follows:

7.50% 8.00% 8.25%
5 .240 .243 .245
8 .167 .170 .171
10 .142 .146 .147

I want to be able to enter an interest rate in one cell, a loan term in
another cell, and then have a formula in another cell return the
corresponding constant. For example, if I enter 7.50% in cell A1, 10 in cell
A2, I want a formula in cell A3 to return .142.

Any help would be greatly appreciated!
 
N

Niek Otten

With your table (including headers) in B6:E0:

=INDEX(C7:E9,MATCH(A2,B7:B9,0),MATCH(A1,C6:E6,0))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

|I have a table which contains constant values depending on interest rate and
| loan term. The top row of the table lists the interest rates and the first
| colum lists the loan term such as follows:
|
| 7.50% 8.00% 8.25%
| 5 .240 .243 .245
| 8 .167 .170 .171
| 10 .142 .146 .147
|
| I want to be able to enter an interest rate in one cell, a loan term in
| another cell, and then have a formula in another cell return the
| corresponding constant. For example, if I enter 7.50% in cell A1, 10 in cell
| A2, I want a formula in cell A3 to return .142.
|
| Any help would be greatly appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top