View Single Post
 
Old 05-13-2011, 12:52 AM
OTPM OTPM is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Quote:
Originally Posted by Colin Legg View Post
If the number is always immediately followed by an "F" or an "S", then you could use this formula:
Code:
=LEFT(A1,MIN(SEARCH({"F","S"},A1&"FS")-1))
Hi Colin
Brilliant. It works fine (better than the formula I used that tok me about 2 hours to work out :-)).
Thanks for your help.
Tony
Reply With Quote