View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko[_2_] T. Valko[_2_] is offline
external usenet poster
 
Posts: 73
Default Right function variable length

Assuming there is *always* 2 \ in the string:

=MID(A1,FIND("\",A1,FIND("\",A1)+1)+1,255)

--
Biff
Microsoft Excel MVP


"lundquic" wrote:

I have a column of data that looks like:

54432\27982\UNIV 20080701

I am looking to remove everything to the right of the second \. The length
of those charaters is variable. I know this is an easy one but I can not
seem to get it to work.

Thanks for the help

Mike