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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,867
Messages
5,834,079
Members
430,260
Latest member
MANICX100

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