Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Garth
 
Posts: n/a
Default please give me an example of vlookup


--
gsimpson
  #2   Report Post  
Adam Molinaro
 
Posts: n/a
Default

You have 2 lists, and you want to see if records of one list are contained in
another.

First List =
Animal Quantity
dog 3
rabbit 6
snake 5
eagle 5
pig 3
horse 5
hamster 7
hamster 7
gopher 6
goat 4

Second List =
SUBLIST VLOOKUP
RABBIT rabbit
snake snake
dragon #N/A

In your VLOOKUP column, type the formula =VLOOKUP(D3,$A$2:$B$11,1,FALSE),
assuming the first table was in columns A and B, and the second table is in
column D ('RABBIT' is in D3). With the formula, you are effectively saying,
"look at D3, then go to table $A$2:$B$11, look at the leftmost column, and
see if you find a match. If you do, return the value in the 1st column ('1'
in the formula)." The 'FALSE' indicates you want to find an exact match. If
this is omitted, or you put 'TRUE,' it will look for approximate matches,
which will [probably] be of no use whatsoever. In the example, you can see
'dragon' got an '#N/A' because it does not exist in the first table.
Furthermore, You can return other values besides the first column; if you
type in a '2' instead of a '1' in the formula, for the RABBIT record, you
would show '6.'

I hope that helps.

Adam.





"Garth" wrote:


--
gsimpson

  #3   Report Post  
Neil
 
Posts: n/a
Default

For a simple tutorial on using Vlookup, check out the Excel pages at my
website.

www.nwarwick.co.uk

HTH

Nei

"Garth" wrote:


--
gsimpson

  #4   Report Post  
Don Guillett
 
Posts: n/a
Default

Have you tried HELP index looking for VLOOKUP?

--
Don Guillett
SalesAid Software

"Garth" wrote in message
...

--
gsimpson



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
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
VLOOKUP problem Wazooli Excel Discussion (Misc queries) 5 March 26th 05 01:52 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 04:24 PM.

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"