Text to Columns?

koolwaters

Active Member
Joined
May 16, 2007
Messages
403
Hi!

I have data in a worksheet that I need parsed but the text to columns does not work.

This is the format of my data:

Jane Doe (1)
Company A (SRL) (105)
Company B (37)

I need to split the data into columns, separating the names and the numbers. I cannot use the parenthesis as my delimter because there will be names that contain parentheses. I would like to split the data, so that the names are in one columns and the numbers including the parentheses are in a separate column.

Any suggestions?

Thanks for the help.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I have been playing around with the formula below but it does not do what I want.

=MID(A1,1,FIND(")",A1,1))
 
Upvote 0
:)

Think I got it using this function.

=IF(LEN(A1)-LEN(SUBSTITUTE(A1,"(",""))>1,MID(A1,1,FIND(")",A1,1)+1),MID(A1,1,FIND("(",A1,1)-1))
 
Upvote 0
Hello, Try

C1, for the number,

=SUBSTITUTE(REPLACE(A1,1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))-1,""),")","")

B1, for the name

=SUBSTITUTE(A1,TEXT(C1,"(0)"),"")
 
Upvote 0

Forum statistics

Threads
1,224,557
Messages
6,179,508
Members
452,918
Latest member
Davion615

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top