Extract text before 1st number in cell

GordonLS

Board Regular
Joined
May 28, 2021
Messages
89
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Good after noon. I have a large data set similar to the following:

Mr Smith Downtown storage 1234 any town USA.
Mr Smith Downtown park bench #234 any town USA.
Mr Smith Downtown park bench /5566 any town USA.

I need to extract everthing after the last character before the 1st number or . So I need:

1234 any town USA.
234 any town USA.
5566 any town USA.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
How about
+Fluff 1.xlsm
AB
1
2Mr Smith Downtown storage 1234 any town USA.1234 any town USA.
3Mr Smith Downtown park bench #234 any town USA.234 any town USA.
4Mr Smith Downtown park bench /5566 any town USA.5566 any town USA.
Main
Cell Formulas
RangeFormula
B2:B4B2=REPLACE(A2,1,MIN(FIND(ROW($1:$10)-1,A2&"0123456789"))-1,"")
 
Upvote 0
Close with ctrl+shft+return

Excel Formula:
=MID(A1,MIN(SEARCH(ROW($1:$10)-1,A1&ROW($1:$10)-1)),100)
 
Upvote 0
My suggestion may also need to be confirmed with Ctrl Shift Enter on your version.
 
Upvote 0
Try

Normally entered

Book2
AB
1
2Mr Smith Downtown storage 1234 any town USA.1234 any town USA.
3Mr Smith Downtown park bench #234 any town USA.234 any town USA.
4Mr Smith Downtown park bench /5566 any town USA.5566 any town USA.
Sheet1
Cell Formulas
RangeFormula
B2:B4B2=MID(A2,AGGREGATE(15,6,FIND({1,2,3,4,5,6,7,8,9,0},A2),1),256)
 
Upvote 0

Forum statistics

Threads
1,213,564
Messages
6,114,334
Members
448,567
Latest member
Kuldeep90

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