look up formula not working

Mattrixdesign

Board Regular
Joined
Mar 6, 2002
Messages
201
I am using the formula

=LOOKUP(F3,B3:B26,C3:C26)

Where column B is a Name of a Currency and column C the exchange rate. F3 is the choice of currency.

HOEVER the result seems odd, when I select a currency I either get the WRONG RATE for the currency, or #na or the right figure - whats is going on, what am I doing wrong?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
On 2002-10-09 10:42, Mattrixdesign wrote:
I am using the formula

=LOOKUP(F3,B3:B26,C3:C26)

Where column B is a Name of a Currency and column C the exchange rate. F3 is the choice of currency.

HOEVER the result seems odd, when I select a currency I either get the WRONG RATE for the currency, or #na or the right figure - whats is going on, what am I doing wrong?

does
=vlookup(f3,$b$3:$c$26,2,0)

work for you?
I don't know the nuances of lookup, but this vlookup as structured will look for an exact match and return the associated rate. If not fund, n/a will be returned.

Good luck
 
Upvote 0

Forum statistics

Threads
1,217,500
Messages
6,137,008
Members
450,038
Latest member
JackOfBlades

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