View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Henrik Henrik is offline
external usenet poster
 
Posts: 43
Default lookup a value within a text string

I have a column with text which I want to use as basis for choosing account
based on rules in a separate columnst.

Text in A1:
01.02 7-ELEVEN Heathrow

Rule in r1:
7-ELEVEN
Account in s1:
400

I want a formula in B1 which looks up the account number from colum s when
any part of the text string in A1 matches text in column r.