Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default vlookup to a word in a cell

Hi Scenario 2 workbooks with the same information . I need to do a
vlookup ( I think) to get the total number of orders for the company .
example workbook one has the name of the company as Arizona Chemicals Inc
THe other workbook has the name of the Company as Arizona Laboratories (they
are the same company) How can I do a vlookup so that these two match .
Maybe vlookup is the wrong function? All the names of the companies do not
exactly match in the two workbooks. thanks in advance Excel 2003
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default vlookup to a word in a cell

Try the below in a fresh sheet before trying on your data. Suppose you have
data in Sheet2 A1:C5
Sheet2 A1 = Arizona Laoratories


Sheet1 A1 = Arizona Chemicals Inc

Try the below in Sheet1 B1
To return SHeet2. Col A
=INDEX(Sheet2!A1:C5,MATCH(LEFT("*" & A1,6)&"*",Sheet2!A1:A5,0),1)
To return SHeet2.B Col B
=INDEX(Sheet2!A1:C5,MATCH(LEFT("*" & A1,6)&"*",Sheet2!A1:A5,0),2)
To return SHeet2.C Col C
=INDEX(Sheet2!A1:C5,MATCH(LEFT("*" & A1,6)&"*",Sheet2!A1:A5,0),3)


The match function use a wild card with the first 6 characters in cell A1 like
MATCH(LEFT("*" & A1,6)&"*",Sheet2!A1:A5,0)

Try and adjust to suit your requirement

If this post helps click Yes
---------------
Jacob Skaria


"Wanna Learn" wrote:

Hi Scenario 2 workbooks with the same information . I need to do a
vlookup ( I think) to get the total number of orders for the company .
example workbook one has the name of the company as Arizona Chemicals Inc
THe other workbook has the name of the Company as Arizona Laboratories (they
are the same company) How can I do a vlookup so that these two match .
Maybe vlookup is the wrong function? All the names of the companies do not
exactly match in the two workbooks. thanks in advance Excel 2003

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 IF Cell Contains a Word within Text DAWN Excel Discussion (Misc queries) 3 April 5th 23 01:07 PM
make cell equal a word if a data validation cell has a word in it Robzz Excel Discussion (Misc queries) 1 February 6th 09 06:20 PM
VLOOKUP IN WORD Sal Excel Discussion (Misc queries) 2 August 30th 08 08:04 AM
Vlookup to word Colin Excel Discussion (Misc queries) 0 March 2nd 06 04:36 PM
Vlookup for part of a word jenhow Excel Worksheet Functions 7 April 29th 05 10:22 PM


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