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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,214,986
Messages
6,122,611
Members
449,090
Latest member
vivek chauhan

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