Text function

H

Howard

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
 
R

Rick Rothstein

If there is **always** a dash in front of the supplier's name (as you show)
and if your supplier's name **never** has a dash in it, then you can use
this formula...

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

L. Howard Kittle

If you do not want the word "Supplier" try this:

=MID(A6,FIND("er ",A6)+3,99)

HTH
Regards,
Howard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top