View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ryan[_9_] Ryan[_9_] is offline
external usenet poster
 
Posts: 1
Default Search for certain string

Hello, trying to figure out how to search for some text. What i Have
is some multiple text data on line a2 to a9 , what i need to do is
search each line and find the first instance of the letters BKN or OVC
then take the next three digits after that and place it into the
corresponding row B, (for ex. if a2 is bkn011 is in line a2 then b2
is 011). Then if there is no BKN or OVC i need to look for FEW or SCT
and then put the either the FEW or SCT along with the three digitsin
parenthesis. ( for ex if a2 is sct033 then be will be (sct033). Any
help would be appreciated. Thank You.