Table Lookup

  • Thread starter Andrew Mackenzie
  • Start date
A

Andrew Mackenzie

Would appreciate any help offered here.

I have a table of exchange rates something like this:

USD GBP CHF JPY
USD 1.00 1.62 0.94 0.01
GBP 1.62 1.00 1.72 150.0
CHF 0.94 1.72 1.00 0.01
JPY 0.01 150.0 0.01 1.00

In column A I have one currency and in column B I have another. In column C
I want to lookup the appropriate exchange rate from the table. I assume
that this is some sort of Index Match type lookup but can't get my head
around the formula.

As I said I would be grateful for any assistance here.

Many thanks,

Andrew
 
B

Bernie Deitrick

=INDEX($A$1:$E$5,MATCH(Curr1,$A:$A,False),MATCH(Curr2,$1:$1,False))

HTH,
Bernie
MS Excel MVP
 
S

Stefi

Place rate table anywhere in your workbook, name it, say, "exchange", then in
C1
=INDEX(exchange,MATCH(A1,INDEX(exchange,,1,1),0),MATCH(B1,INDEX(exchange,1,,1),0))

Regards,
Stefi

„Andrew Mackenzie†ezt írta:
 
A

Andrew Mackenzie

Thanks Berni & Stefi,

Much appreciated,

Andrew
Stefi said:
Place rate table anywhere in your workbook, name it, say, "exchange", then in
=INDEX(exchange,MATCH(A1,INDEX(exchange,,1,1),0),MATCH(B1,INDEX(exchange,1,,
1),0))

Regards,
Stefi

"Andrew Mackenzie" ezt írta:
 
S

Stefi

You are welcome! Thanks for the feedback!
Stefi
Clicking the YES button will be appreciated.

„Andrew Mackenzie†ezt írta:
 

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