False Statement won't show
try this to return the data after the "-"
=IF(ISERROR(FIND("-",A1)),A1,LEFT(A1,FIND("-",A1)-1))
On Jun 20, 9:37 am, "spiz via OfficeKB.com" <u34902@uwe wrote:
some of my data has - a, - b
i'm using this to pull out the hyphens, but if the statement is false, the
data will not return the original cell if the original cell does not contain
a "-"
=IF(FIND("-",cell),LEFT(cell,FIND("-",cell)-1,cell)
it is, however, pulling the info, minus the ending parts after the "-"
beautifully.
Any ideas?
--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200806/1
|