Thread: Text function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Text function

=TRIM(RIGHT(SUBSTITUTE(A1,"-",REPT(" ",99)),99))


"Howard" wrote:

i have a database which i need to extract the supplier name and they are not
in same order for example

RPO-09393-Supplier AAA
980-Supplier BBBBBB
AHU-OIJ-JUH-Supplier CC

As you can see the suppliers name are always at the back, how to build the
formula just to extract the supplier name (different lenght) that always at
the back.

Thanks
Howard