Link to home
Start Free TrialLog in
Avatar of Becky Edwards
Becky EdwardsFlag for United States of America

asked on

separate parts of a field in excel

I need to separate out the account id from the person.  I would like to do it so that the [] are removed also.  Can someone tell me how to do this in Excel?

Example:  PRESLEY, ELVIS [5000065005]
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assuming text in A! try

=LEFT(LEFT(A1,FIND("[",A1,1)),(LEN(LEFT(A1,FIND("[",A1,1)))-1))
Avatar of Becky Edwards

ASKER

I used the first answer and it worked perfectly.  Thank you everyone for your responses!
It took three columns, but it worked perfectly.  Thank you  Rgonzo for help separating account number from person field.
My formula needs one additional column!