LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default VLookup behaving strangely..

After the column to bring back put false, a true or blank tells excel to get
the closest match.
=VLOOKUP(C1,$A$1:$B$3,2,FALSE)

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"Paul Lyons" <Paul wrote in message
...
Hi,

I have noticed 2 things about VLookup which are causing me some grief.

Firstly, for values it cannot look up it seems to be using the last
available value in the lookup column. Example:
Reference columns are the two leftmost.
The formula in the fourth column is: =VLOOKUP(C1,$A$1:$B$3,2)

AA One BB Two
BB Two CC Three
CC Three AA One
BB Two
DD Three
AA One

Note that DD is not defined in the reference list, yet it is still given a
value.


Secondly, the function seems to have a problem when looking up values with
numbers:
Again the leftmost columns contain the reference values and the formula in
the fourth column only differs according to the new range of these values.

AA One BB Two
BB Two 1A #N/A
CC Three AA One
1A Four BB Two
CC Three

Note the value 1A does not get "lookup up". This occurs even when the
columns are formatted as Text.

I am using Excel 2003 SP2 running on Windows XP and have checked the issue
on Excel 2002 SP1 running Windows 2000.

Is this a known issue? Is there a work around for it?
The values I am looking are to compare data from two databases so there's
no
way I can change the values and still be confident of my reconciliation..


Thanks in advance
Paul



 
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
"paste picture link" behaving strangely Michael R Excel Discussion (Misc queries) 0 July 7th 09 05:06 PM
my arrow keys are behaving strangely Missing Pieces New Users to Excel 1 November 10th 08 08:22 PM
Excel is behaving strangely for no apparent reason. canyondude New Users to Excel 4 January 10th 06 12:07 AM
Validation list behaving strangely in 2003 Danny J Excel Worksheet Functions 2 December 8th 04 08:00 AM
Checkbox behaving strangely Shilps Excel Programming 8 April 20th 04 08:40 AM


All times are GMT +1. The time now is 11:52 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"