Formula needed to split text and Numbers up?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,147
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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,147
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
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

Snakehips

Well-known Member
Joined
May 17, 2009
Messages
5,744
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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,195,674
Messages
6,011,099
Members
441,582
Latest member
Topkapi

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
Top