View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove Harlan Grove is offline
external usenet poster
 
Posts: 733
Default i need help creating a function that will extract words from a string of text

wrote...
....
I have a ton of these cells and they're all different, but I only
need the word left of the first "|" mark and right of the second
"|" mark.

....

Looks like you mean between the 1st and 2nd |s. Try

=REPLACE(LEFT(A1,FIND("|",A1,FIND("|",A1)+1)-1),1,FIND("|",A1),"")