View Single Post
 
Old 06-04-2013, 09:23 PM
Catalin.B Catalin.B is offline Windows Vista Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

You might reconsider the LEFT function (for a text string located in A1, change as needed):
=IFERROR(LEFT(SUBSTITUTE(A1;LEFT(A1;FIND("/";A1));"");FIND("/";SUBSTITUTE(A1;LEFT(A1;FIND("/";A1));""))-1);"")
It will return nothing if there is no "/" in the text string, or if there is only one "/". Else, it will return the text between the first two slashes...
To eliminate duplicates, just copy/paste as values the results of the formulas, and use Data-remove duplicates.
Reply With Quote