Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ted Metro
 
Posts: n/a
Default Lookup based on fractional value

Thank you so much Harlan, and you hit on my other problem, which I didn't
mention b/c I figured it would be too hard to capture everything with one
formula.



"Harlan Grove" wrote:

Ted Metro wrote...
I have a list of companies A1:A100, and I have a table b1:c5000 that has
companies and industries.

....

In order to put the results in B1:B100 next to A1:A100, I'll assume the
other table is in G1:H5000.

I'd like to use a vlookup or index/match combination to append the industry
to the companies in column A. Because there are slight differences in the
spellings I'd like to have a formula take the first 6 letters of A1, and see
if they are found in any cell b1:b5000, and if there is a match to populate
the cell with the corresponding value in column c, the industry value.


B1:
=VLOOKUP(LEFT(A1,6)&"*",$G$1:$H$5000,2,0)

Good luck with corresponding entries like 'X.Y.Z Corp.' and 'The XYZ
Corporation'.


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 data based on two columns of data bttreadwell Excel Worksheet Functions 2 November 19th 05 03:54 AM
lookup based on a row number chrisrowe_cr Excel Worksheet Functions 2 September 15th 05 02:18 PM
Lookup based on 2 criteria L. S. Martin Excel Worksheet Functions 13 July 16th 05 10:14 PM
In Excel 2003 how do you get a table to update based on lookup cr. cliveshelton Excel Worksheet Functions 0 April 20th 05 04:24 PM
Lookup with search range start based on position of last blank lin rcmodelr Excel Worksheet Functions 0 November 14th 04 06:32 AM


All times are GMT +1. The time now is 12:40 AM.

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"