LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JohnK
 
Posts: n/a
Default Help with VLookup function


Hi
I'm struggling with a VLOOKUP function where I'm referencing a
particular postal code to a table and the VLOOKUP is returning
inconsistent results.

The syntax is: =VLOOKUP(C8,AZ1:BB1578,3)

Where the postal code is located in C8, the lookup range is fromAZ1 to
BB1578, and the returned value should be from a cell in the 3rd column
of that range corresponding to (across from) the looked up postal code.
What is happening, is that certain postal codes are not looking up the
corresponding value in the 3rd column, but rather are looking up a
totally unrelated postal code and returning the value from the 3rd
column corresponding to that (incorrect) postal code.

I have tried changing the returned column value to the first column
just to see what I would get back. In one example I typed in the postal
code 4161, and the VLOOKUP went to the first column, where all of the
postal codes are located and returned the postal code of 3996. Whereas
4161 should have looked itself up and returned 4161.

I have tried putting in the TRUE and FALSE arguments in the syntax but
with no change to the result. Maybe I'm making some simple mistake
here. I would be grateful for any suggestions.

John from Oz


--
JohnK
------------------------------------------------------------------------
JohnK's Profile: http://www.excelforum.com/member.php...o&userid=26498
View this thread: http://www.excelforum.com/showthread...hreadid=397653

 
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
format cell based on results of vlookup function Edith F Excel Worksheet Functions 1 July 21st 05 07:39 PM
Using ~ in VLookup function Andyp95 Excel Worksheet Functions 3 June 29th 05 04:35 AM
Vlookup w/Date Function cym Excel Worksheet Functions 1 March 25th 05 08:21 PM
How can I see an example of the vlookup function in excel? Ian G Excel Worksheet Functions 2 November 14th 04 11:34 PM
Regarding IF function or vLOOKUP function wuwu Excel Worksheet Functions 2 November 13th 04 01:38 PM


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