#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default VLOOKUP problem

I have the following problem

A B
AUD 1
CAD 2
HRK 3
CZK 4
HUF 5
CHF 6
USD 7

Now i have a cell, lets say A10 in which I would write one of the
values (eg. HRK) from column one, and a cell with formula
=VLOOKUP(A10;A1:B7;2), which should then lookup the coresponding
number next to HRK - and should return nr. 3. The problem that I get
is that it doesnt return the right number... and i have no clue to
whats wrong...

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default VLOOKUP problem

=VLOOKUP(A10,A1:B7,2,0)
You need the fourth parameter set to false (0) or else you need the first
column of your data sorted ascending. The above formula will work without
rearranging your table.

"Mortir" wrote:

I have the following problem

A B
AUD 1
CAD 2
HRK 3
CZK 4
HUF 5
CHF 6
USD 7

Now i have a cell, lets say A10 in which I would write one of the
values (eg. HRK) from column one, and a cell with formula
=VLOOKUP(A10;A1:B7;2), which should then lookup the coresponding
number next to HRK - and should return nr. 3. The problem that I get
is that it doesnt return the right number... and i have no clue to
whats wrong...


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default VLOOKUP problem

Use

VLOOKUP(A10;A1:B7;2;FALSE)

See HELP for details

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mortir" wrote in message oups.com...
|I have the following problem
|
| A B
| AUD 1
| CAD 2
| HRK 3
| CZK 4
| HUF 5
| CHF 6
| USD 7
|
| Now i have a cell, lets say A10 in which I would write one of the
| values (eg. HRK) from column one, and a cell with formula
| =VLOOKUP(A10;A1:B7;2), which should then lookup the coresponding
| number next to HRK - and should return nr. 3. The problem that I get
| is that it doesnt return the right number... and i have no clue to
| whats wrong...
|


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP problem Ravenbear Excel Discussion (Misc queries) 3 July 24th 06 09:54 PM
vlookup problem terryc Excel Discussion (Misc queries) 4 June 28th 06 04:28 PM
VLookUp problem Louise Excel Worksheet Functions 2 May 22nd 06 04:27 PM
Vlookup problem Blade2304 Excel Worksheet Functions 3 May 16th 06 09:14 PM
Vlookup Problem Dominique Feteau Excel Worksheet Functions 3 December 19th 04 06:36 AM


All times are GMT +1. The time now is 10:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"