formula help split data in one cell into another cell

caroline.vanbommel

New Member
Joined
Aug 21, 2006
Messages
27
I have a list of names and thier student numbers it is a download
and in the cell both the name and number are listed in one cell eg Yurchuns, Oleams (20023677)
i want to create a column where only the student number is in.
what formula should i use?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,

If Yurchuns, Oleams (20023677) is in cell A1 you can paste this formula in B1 to get just the student number.

=MID(RIGHT(A1,10),2,8)

Look up text functions in excel help and there's lots of handy tricks.
 
Upvote 0
Try:

=MID(A1,FIND("(",A1),LEN(A1))

this will include the brackets too.
 
Upvote 0

Forum statistics

Threads
1,215,106
Messages
6,123,122
Members
449,096
Latest member
provoking

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