Code:
A3=IF(FIND("-",A9),LEFT(A9,FIND("-",A9)-1),CONCATENATE(A9))
What I am trying to accomplish is that if I typed/pasted ABCDEFG1-23 into cell A9, cell A3 then will display ABCDEFG1 and if I typed/pasted ABCDEFG1234 cell A9 would then equal the whole text in a cell A3