Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Excel Vlookup Not Returning Correct Information

Vlookup formula =VLOOKUP(A3,DATA2!A1:B19,1,0) does not return correct information.

I am searching for a numeric code from sheet one in sheet 2 to display a separate numeric code back into sheet 1.

What happens is it returns information from a different row, when I put false it says #NA.

I've tried to change the type of format and sorting it but I'm at a loss.

Thanks for your help.
criss
Attached Files
File Type: txt sheet1.txt (497 Bytes, 110 views)
File Type: txt sheet2.txt (247 Bytes, 93 views)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Excel Vlookup Not Returning Correct Information

Hi Criss,

Am Sun, 11 Oct 2015 03:07:34 +0100 schrieb smim:

|Filename: sheet1.txt |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=1018|
|Filename: sheet2.txt |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=1019|


VLOOKUP looks from left to the right. You are looking in column B and
want an output from column A. You have to use a INDEX/MATCH combination:
=IFERROR(INDEX(Data2!A:A,MATCH(A2,Data2!$B$1:$B$20 0,0)),"")


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
Copying concatenate not returning correct cell information Aneka Excel Discussion (Misc queries) 6 December 10th 08 05:24 PM
Vlookup not returning correct value Drebdog Excel Worksheet Functions 4 August 6th 08 11:29 PM
VLOOKUP not returning correct value leigh Excel Worksheet Functions 6 October 13th 05 12:22 PM
UDF not returning correct information [email protected] Excel Programming 1 July 14th 05 12:04 AM
Vlookup not returning correct value Mandy Brookes Excel Worksheet Functions 1 January 26th 05 12:12 PM


All times are GMT +1. The time now is 06:17 AM.

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

About Us

"It's about Microsoft Excel"