Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default vlookup gives incorrect results

I am using vlookup to search for the numbers on the right correlated to the
text on the left (see table below). However whenever I use 14X145 as the
input value it always returns the number 74 which is not correct. I have
checked to make sure that there are no additional spaces. What is going on?

10X42 42
12X53 53
12X74 74
14X73 73
14X89 89
14X117 117
14X120 120
14X132 132
14X145 145
18X106 106
24X104 104
24X117 117
24X131 131
24X176 176
36X150 150
36X170 170
36X182 182
36X230 230
36X300 300

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default vlookup gives incorrect results

The last argument in VLOOKUP is very important. If it is set to FALSE only
exact matches get reported otherwise you get the nearest match. Tell us what
your formula is.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Forrest G." <Forrest wrote in message
...
I am using vlookup to search for the numbers on the right correlated to the
text on the left (see table below). However whenever I use 14X145 as the
input value it always returns the number 74 which is not correct. I have
checked to make sure that there are no additional spaces. What is going
on?

10X42 42
12X53 53
12X74 74
14X73 73
14X89 89
14X117 117
14X120 120
14X132 132
14X145 145
18X106 106
24X104 104
24X117 117
24X131 131
24X176 176
36X150 150
36X170 170
36X182 182
36X230 230
36X300 300



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default vlookup gives incorrect results

It is very simple:
=VLOOKUP(H2,$G$30:$H$48,2)

Since I am looking only for the exact match, the last arg was omitted.

"Bernard Liengme" wrote:

The last argument in VLOOKUP is very important. If it is set to FALSE only
exact matches get reported otherwise you get the nearest match. Tell us what
your formula is.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Forrest G." <Forrest wrote in message
...
I am using vlookup to search for the numbers on the right correlated to the
text on the left (see table below). However whenever I use 14X145 as the
input value it always returns the number 74 which is not correct. I have
checked to make sure that there are no additional spaces. What is going
on?

10X42 42
12X53 53
12X74 74
14X73 73
14X89 89
14X117 117
14X120 120
14X132 132
14X145 145
18X106 106
24X104 104
24X117 117
24X131 131
24X176 176
36X150 150
36X170 170
36X182 182
36X230 230
36X300 300




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default vlookup gives incorrect results

Making the last argument false fixed the problem. thanks

"Bernard Liengme" wrote:

The last argument in VLOOKUP is very important. If it is set to FALSE only
exact matches get reported otherwise you get the nearest match. Tell us what
your formula is.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Forrest G." <Forrest wrote in message
...
I am using vlookup to search for the numbers on the right correlated to the
text on the left (see table below). However whenever I use 14X145 as the
input value it always returns the number 74 which is not correct. I have
checked to make sure that there are no additional spaces. What is going
on?

10X42 42
12X53 53
12X74 74
14X73 73
14X89 89
14X117 117
14X120 120
14X132 132
14X145 145
18X106 106
24X104 104
24X117 117
24X131 131
24X176 176
36X150 150
36X170 170
36X182 182
36X230 230
36X300 300




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 on pivot table results = #N/A Louis Excel Worksheet Functions 5 May 13th 23 07:43 PM
VLOOKUP show all results New_Man Excel Worksheet Functions 4 December 27th 05 07:17 AM
Vlookup Returning Same Results on Each Row tlatta Excel Discussion (Misc queries) 0 December 14th 05 07:34 PM
format cell based on results of vlookup function Edith F Excel Worksheet Functions 1 July 21st 05 07:39 PM
Formatting the Results of VLOOKUP LPS Excel Worksheet Functions 1 February 11th 05 02:15 PM


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