Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dennis via OfficeKB.com
 
Posts: n/a
Default Trouble with hyhens within text when using LOOKUP


I have two columns, each containing a list of part numbers. Some of the part
numbers contain hyphens.
I am using LOOKUP and/or VLOOKUP to determine if the value in one column
exists in the other. This works great on non-hyphenated part numbers.
However, it will not find or return the hyphenated part numbers from the
specified arrays. As a test, I did a quick if statement to compare the
instances of identical hyphenated values that exist in both columns. Those
statements did not have a problem with the hyphens. Can anyone offer any
help? If hyphens cannot be used in conjunction with the LOOKUP functions, can
I strip the hyphens out of the numbers?

Thanks,
Dennis
  #2   Report Post  
Odicus
 
Posts: n/a
Default


Dennis,

When You Created your Vlookup Formula did you use false in the
Range_lookup field? ie: "=VLOOKUP(B3,A7:B12,2,FALSE)"

Odie


--
Odicus
------------------------------------------------------------------------
Odicus's Profile: http://www.excelforum.com/member.php...o&userid=25610
View this thread: http://www.excelforum.com/showthread...hreadid=390336

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
How do I LOOKUP text values Amber C-W Excel Worksheet Functions 4 July 20th 05 05:27 PM
Lookup Text in Comments malik641 Excel Worksheet Functions 2 July 5th 05 12:36 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Lookup returns #NA when search value (text) has leading zeros. M-Dickey Excel Worksheet Functions 1 May 10th 05 10:26 PM
I have had trouble with textbox text to worksheet Thomas Excel Discussion (Misc queries) 1 March 10th 05 03:23 AM


All times are GMT +1. The time now is 07:36 PM.

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"