Extract numeric value from X Point until next non numeric values

PHIL.Pearce84

Board Regular
Joined
May 16, 2011
Messages
152
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm in need of help :) I have identified when the first numeric value appears in a cell, what I am now trying to do is extract all numeric values from this point until the next non numeric value, the length of which can vary.

And I'm completely stump!

Sample table below:

Original Data1st Numeric Value PointDesired Result
Testing Data 67860Test1467860
Test123 The Test Street4123
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Can you update your profile to indicate which version of Excel you have? It will make a big difference to the possible solutions.
 
Upvote 0
Can you update your profile to indicate which version of Excel you have? It will make a big difference to the possible solutions.
Hi,

Will do that now, Im using office 365 Excel version 2312 if that helps?
 
Upvote 0
Thanks. Here's one way:

Excel Formula:
=TEXTJOIN("",TRUE,IFERROR(--MID(A2,SEQUENCE(LEN(A2)),1),""))
 
Upvote 0
Try in C2 copied down.
Excel Formula:
=LET(a,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"01234567890")),b,MAX(IFERROR(1*MID(A2,a,SEQUENCE(LEN(A2)-a+1,1)),0)),IFERROR(1/(1/b),""))
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,028
Members
449,092
Latest member
ikke

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