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?
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,608
Messages
5,597,143
Members
414,129
Latest member
mr vba

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
Top