Thank you all! The answer by Fabio is just what I need. But I can sure see the cool thing in Ajit's code; i NEED to improve my VBA!. Thanks a lot!
-Søren On 14 Jun., 07:44, "Ajit Navre" <aquas...@gmail.com> wrote: > Hi, > > If you don’t mind using macro-user defined function, take a look at the > attached file…Consider Sheet2 and the UDF in Module1. > > (is the same file, only I have added few things to it.) > > Regards > > Ajit > > From: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] > On Behalf Of Fabio Lemos > Sent: Saturday, June 13, 2009 7:27 PM > To: excel-macros@googlegroups.com > Subject: $$Excel-Macros$$ Re: check if word exists in column > > Hi, > > do you need to count them? if it´s the case... see the attached file... > > 2009/6/12 Søren <soren.v...@gmail.com> > > I have a number of lists containing names of proteins. I need to check > if these lists contain words from some other lists. Normally easy, but > I should get a true value, even if only a part of the cell equals a > word from the other list. Like in the example below: > MASTER LIST: > abcd > defg > cdef > efgh > frt > > CHECK LISTS: > abc def > fg defg > rtt > > RESULT: > abcd x > defg x x > cdef > efgh x > frt > > How is this done? I have been pulling my hair for weeks. > > Thanks for your help! > > -- > Fabio Lemos > > e-mail: flnle...@gmail.com > > ProteinMatch.xls > 60KVisDownload --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---