Formula to extract text and numbers

sobrien1234

Board Regular
Joined
May 10, 2016
Messages
175
Office Version
  1. 365
Platform
  1. Windows
I have the names and numbers of greyhounds in column A and want a formula to extract the name and number in columns B and C.

For example:
A1 = Superior Merlot (Box 8)
A2 = Fatboy (Box 10)

So the answer to the formulas would be:
B1 = Superior Merlot
B2 = Fatboy

C1 = 8
C2= 10

Thanks in advance!

Seamus
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Try this

20 05 03.xlsm
ABC
1Superior Merlot (Box 8)Superior Merlot8
2Fatboy (Box 10)Fatboy10
Greyhounds
Cell Formulas
RangeFormula
B1:B2B1=LEFT(A1,FIND("(",A1)-2)
C1:C2C1=SUBSTITUTE(REPLACE(A1,1,SEARCH("(Box",A1)+4,""),")","")+0
 
Upvote 0
tHA
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Try this
Thanks - that worked well but just realised there's number at the start as well!!!!!
For example:
9Superior Merlot (Box8)
10Fatboy (Box10)

So need to get rid of those numbers at the start of the text as well to get the same answers as you did before??
 
Last edited by a moderator:
Upvote 0
This is still true.;)
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,125,002
Members
449,202
Latest member
Pertotal

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