Extracting parts of names
Is it always (17)?
=SUBSTITUTE(A2,"(17)","")
if not
=IF(ISNUMBER(FIND("(",A2)),TRIM(LEFT(A2,FIND("(",A 2)-1)),A2)
--
Regards,
Peo Sjoblom
"klysell" .(donotspam) wrote in message
...
Hi,
Does anyone know how to extract "lysell, kent" from "lysell, kent(17)"? I
don't want the "(17)" part. This should work no matter what spacing is in
the
name before the "(17)". For example, what if the text in a cell is
"lysell,kent(17)"? Or "lysell,kent M.(17)", etc.
Thanks in advance,
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.943.9098
|