Thread
:
word up to last "\"
View Single Post
03-14-2012, 07:39 AM
Colin Legg
Windows 7 32bit
Office 2010 32bit
Expert
Join Date: Jan 2011
Location: UK
Posts: 369
Here's one way
=LEFT(
A1
,SEARCH("\ /",SUBSTITUTE(
A1
,"\","\ /",LEN(
A1
)-LEN(SUBSTITUTE(
A1
,"\","")))))
The formula will return a #VALUE! error if there are no \ characters in the cell being checked.
Colin Legg
View Public Profile
Find all posts by Colin Legg