Formula needed to split text and Numbers up?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,
Double request as it the same thing but there way around

Column W has data in it in the form or numbers then words no break.
I want to split the numbers and the letters up into column X & Y so if W2 = 2345631TRESDYFF X2 would be 2345631 and Y2 Would be TRESDYFF

the only problem is that I don't know how many Numbers will be before the letters (It will always be numbers first then TEXT)

how can I do this please?

Thanks

Tony
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
PS this is going to be copied down over a lot of cells so if its better to do it with a macro the range is W2:W500000

Thanks

Tony
 
Upvote 0
Tony,

Does this help?

Excel 2007
WXY
1
22345631TRESDYFF2345631TRESDYFF
33TRESDYFF3TRESDYFF
42345-TRESDYFF2345-TRESDYFF
Sheet4
Cell Formulas
RangeFormula
X2=-LOOKUP(1,-LEFT(W2,ROW(INDEX(A:A,1):INDEX(A:A,LEN(W2)))))
Y2=SUBSTITUTE(W2,X2,"")
 
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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