BearWebContent
asked on
Sharepoint Calculated Field - extract piece of text from another field
I have a field with a value at the before a "-" that varies in length and text after the dash. I would like to get a sub set of the portion before the dash. I've seen comments on how to extract after a certain point but not before and not if the length varies.
Sample:
OLB-20 in original field
OLB should be in calculated field
OLBad-1539 in original field
OLBad should be in calculated field
Sample:
OLB-20 in original field
OLB should be in calculated field
OLBad-1539 in original field
OLBad should be in calculated field
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
=MID([Col1],1,FIND("-",[Co