View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
omnitechsupport omnitechsupport is offline
external usenet poster
 
Posts: 6
Default How to retrieve text within ()?

Use the formula..if the data is in cell A1
= MID(A1, FIND( "(", A1) + 1, SUM( FIND( {"(",")"}, A1) * {-1,1}) - 1 )

hope it works..


"Eric" wrote:

Does anyone have any suggestions on how to retrieve text within ()? for
example, Peter (A123) in cell A1, I would like to retrieve A123 into cell B1.
Does anyone have any suggestions on how to do it?
Thanks in advance for any suggestions
Eric