Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Vlookup Returns Wrong/No Data

My Data Range is (shortened for this example):
124 00A2RG000024CMNM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
125 00A2RG000024CLTM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
126 00A2RG000025CDGM A2RG.CS.1.1.1 A2RG.CS.1.1.1.2
129 00A2RG000026LDGM A2RG.CS.0.0.0 A2RG.CS.1.1.1.3
135 00A2RG000031ICMM A2RG.CS.1.1.1 A2RG.CS.1.1.1.8
137 00A2RG000032CLTM A2RG.CS.1.2.1 A2RG.CS.1.2.1.1

My first formula in line 26 below is: =VLOOKUP(E26,$D$124:$F$149,2), and
respectively E27 and E28

My results a
26 #N/A #N/A 00A2RG000024CLTM
27 A2RG.CS.1.1.1 A2RG.CS.1.1.1.8 00A2RG000032CLTM
28 A2RG.CS.0.0.0 A2RG.CS.1.1.1.3 00A2RG000026LDGM

As you can see, Line 26 show #N/A, line 27 displays the data from 2 lines
above, and line 28 is correct.

This is really throwing us off! Can you help? Thanks....TomCat

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Vlookup Returns Wrong/No Data

Make your formula

=VLOOKUP(E26,$D$124:$F$149,2,FALSE)

Look in HELP for the meaning of the 4th argument

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"TomCat" wrote in message ...
| My Data Range is (shortened for this example):
| 124 00A2RG000024CMNM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
| 125 00A2RG000024CLTM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
| 126 00A2RG000025CDGM A2RG.CS.1.1.1 A2RG.CS.1.1.1.2
| 129 00A2RG000026LDGM A2RG.CS.0.0.0 A2RG.CS.1.1.1.3
| 135 00A2RG000031ICMM A2RG.CS.1.1.1 A2RG.CS.1.1.1.8
| 137 00A2RG000032CLTM A2RG.CS.1.2.1 A2RG.CS.1.2.1.1
|
| My first formula in line 26 below is: =VLOOKUP(E26,$D$124:$F$149,2), and
| respectively E27 and E28
|
| My results a
| 26 #N/A #N/A 00A2RG000024CLTM
| 27 A2RG.CS.1.1.1 A2RG.CS.1.1.1.8 00A2RG000032CLTM
| 28 A2RG.CS.0.0.0 A2RG.CS.1.1.1.3 00A2RG000026LDGM
|
| As you can see, Line 26 show #N/A, line 27 displays the data from 2 lines
| above, and line 28 is correct.
|
| This is really throwing us off! Can you help? Thanks....TomCat
|


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Vlookup Returns Wrong/No Data

You need to include the 4th parameter to VLOOKUP. If this parameter is
FALSE, then VLOOKUP doesn't require a sorted data range and will return a
value when (and only when) an exact match is found. If this parameter is
omitted or TRUE, VLOOKUP requires that the data range be in sorted order and
will return a closest match if an exact match is not found.

=VLOOKUP(E26,$D$124:$F$149,2,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"TomCat" wrote in message
...
My Data Range is (shortened for this example):
124 00A2RG000024CMNM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
125 00A2RG000024CLTM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
126 00A2RG000025CDGM A2RG.CS.1.1.1 A2RG.CS.1.1.1.2
129 00A2RG000026LDGM A2RG.CS.0.0.0 A2RG.CS.1.1.1.3
135 00A2RG000031ICMM A2RG.CS.1.1.1 A2RG.CS.1.1.1.8
137 00A2RG000032CLTM A2RG.CS.1.2.1 A2RG.CS.1.2.1.1

My first formula in line 26 below is: =VLOOKUP(E26,$D$124:$F$149,2), and
respectively E27 and E28

My results a
26 #N/A #N/A 00A2RG000024CLTM
27 A2RG.CS.1.1.1 A2RG.CS.1.1.1.8 00A2RG000032CLTM
28 A2RG.CS.0.0.0 A2RG.CS.1.1.1.3 00A2RG000026LDGM

As you can see, Line 26 show #N/A, line 27 displays the data from 2 lines
above, and line 28 is correct.

This is really throwing us off! Can you help? Thanks....TomCat


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Vlookup Returns Wrong/No Data

Y'all are great! Thanks!

TomCat

"Chip Pearson" wrote:

You need to include the 4th parameter to VLOOKUP. If this parameter is
FALSE, then VLOOKUP doesn't require a sorted data range and will return a
value when (and only when) an exact match is found. If this parameter is
omitted or TRUE, VLOOKUP requires that the data range be in sorted order and
will return a closest match if an exact match is not found.

=VLOOKUP(E26,$D$124:$F$149,2,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"TomCat" wrote in message
...
My Data Range is (shortened for this example):
124 00A2RG000024CMNM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
125 00A2RG000024CLTM A2RG.CS.1.1.1 A2RG.CS.1.1.1.1
126 00A2RG000025CDGM A2RG.CS.1.1.1 A2RG.CS.1.1.1.2
129 00A2RG000026LDGM A2RG.CS.0.0.0 A2RG.CS.1.1.1.3
135 00A2RG000031ICMM A2RG.CS.1.1.1 A2RG.CS.1.1.1.8
137 00A2RG000032CLTM A2RG.CS.1.2.1 A2RG.CS.1.2.1.1

My first formula in line 26 below is: =VLOOKUP(E26,$D$124:$F$149,2), and
respectively E27 and E28

My results a
26 #N/A #N/A 00A2RG000024CLTM
27 A2RG.CS.1.1.1 A2RG.CS.1.1.1.8 00A2RG000032CLTM
28 A2RG.CS.0.0.0 A2RG.CS.1.1.1.3 00A2RG000026LDGM

As you can see, Line 26 show #N/A, line 27 displays the data from 2 lines
above, and line 28 is correct.

This is really throwing us off! Can you help? Thanks....TomCat


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
VLookup occasionally returns formula with no data Ted Jillett Excel Discussion (Misc queries) 3 August 9th 07 01:48 PM
vlookup returns bad data SelfTaught_InNeedOfPro Excel Worksheet Functions 3 November 1st 06 09:51 AM
Row() function returns wrong row and more.. Kim Excel Worksheet Functions 5 July 11th 06 02:11 AM
Vlookup gives wrong answers when used in large data. Pls advise? Dave Excel Worksheet Functions 4 March 21st 06 02:14 PM
Vlookup data wrong if the small value found are same Fanny Excel Discussion (Misc queries) 4 January 11th 06 03:05 AM


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