Thread: VLOOKUP?
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
RagDyeR RagDyeR is offline
external usenet poster
 
Posts: 3,572
Default VLOOKUP?

That's *exactly* the point!

When an exact match is called for *NO* sorting is necessary!

Try it ... you'll like it.<bg
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Barb Reinhardt" wrote in message
...
The false refers to an "exact" match or not. See comments from help for
VLOOKUP for the Range_lookup portion of the function.

Range_lookup is a logical value that specifies whether you want VLOOKUP
to find an exact match or an approximate match. If TRUE or omitted, an
approximate match is returned. In other words, if an exact match is not
found, the next largest value that is less than lookup_value is returned. If
FALSE, VLOOKUP will find an exact match. If one is not found, the error
value
#N/A is returned.



"Ragdyer" wrote:

Why do you say that Column A *must* be sorted in ascending order?
You are using "false" as the 4th argument, aren't you?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Barb Reinhardt" wrote in
message
...
Let's say you are entering your data in cell A1 and you want B1 to
display
the location name

=VLOOKUP(A1,Sheet4!$A$1:$B$100,2,false)

where your "hidden" sheet is Sheet4 and the data is in A1:B100. Just
make
sure that column A is sorted in ascending order.

"Pheasant PluckerŪ" wrote:

I have a list of customers sites where each site has a unique number.

Against each of the numbers is the name of the site for example;

001 London
002 Oxford
..
..
1340 Birmingham
1341 Manchester
etc. etc.

These are listed in 2 columns on a hidden worksheet in a multi-page
spreadsheet.

What I would like to do is when the site number is input say in cell A1
on a
different worksheet I need to automagically insert the site name that
matches that particular site number.

So in my example if I input 002 in cell A1 then Oxford appears in B1

I am guessing I need to use VLOOKUP or something but can some kind soul
point me in the right direction please?


--
Thanks & regards,
-pp-