View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jarek Kujawa[_2_] Jarek Kujawa[_2_] is offline
external usenet poster
 
Posts: 896
Default Selecting right part of text string

=RIGHT(R2,LEN(R2)-FIND("DUE ",R2)-3)


On 4 Lis, 09:28, Sue Compelling
wrote:
Hi

I have cells that are populated by a data dump from a work management system
and the text will always appear in a preformatted manner

eg: *VODAFONE P3 INC526642 SITE: SOJ Shotover Jet HQ DUE 4/11/09 16:09

I want to select the date only from this string - which will always appear
after the word DUE ..

I have tried the formula below (from this forum) though am coming unstuck
and it is not returning what I want.

=RIGHT(R2,FIND("DUE ",R2&"DUE "))

The above formula gives me this result *... 26642 SITE: SOJ Shotover Jet HQ
DUE 4/11/09 16:09

TIA ...

--
Sue Compelling