View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
spiz via OfficeKB.com spiz via OfficeKB.com is offline
external usenet poster
 
Posts: 12
Default False Statement won't show

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.com
http://www.officekb.com/Uwe/Forums.a...tions/200806/1