Seperating text/numbers

sobrien

Board Regular
Joined
Feb 28, 2006
Messages
179
I have the following text in A1, A2 ETC..............
1RICHMOND
13COLLINGWOOD

In cell B1, B2 etc...I want the text only.

Thanks in advance
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Ron Coderre

MrExcel MVP
Joined
Jan 14, 2009
Messages
2,316
Try this:
Code:
=MID(A1,SUMPRODUCT(--ISNUMBER(--MID(A1,ROW(INDEX
($A:$A,1):INDEX($A:$A,LEN(A1))),1)))+1,LEN(A1))
Does that help?
 
Upvote 0

jbeaucaire

Well-known Member
Joined
May 8, 2002
Messages
6,012
Couldn't get Ron's to work, so a little Googling turned up this formula which did work for me:

=SUBSTITUTE(A1,LOOKUP(9.99E+307,--MID(A1,MIN(FIND({1,2,3,4,5,6,7,8,9,0},A1&1234567890)),ROW(A$1:INDEX(A:A,LEN($A1))))),"")
 
Upvote 0

sobrien

Board Regular
Joined
Feb 28, 2006
Messages
179
thanks that formula works but is three rows below where I want it?? - i.e instead of showing up in B1 it is in B3??
 
Upvote 0

Ron Coderre

MrExcel MVP
Joined
Jan 14, 2009
Messages
2,316
I don't know why the formula I posted would not work
Code:
B1: =MID(A1,SUMPRODUCT(--ISNUMBER(--MID(A1,ROW(INDEX
($A:$A,1):INDEX($A:$A,LEN(A1))),1)))+1,LEN(A1))
When copied down...
These are the values and returned values:
Code:
13COLLINGWOOD     COLLINGWOOD
1richmond         richmond
15Main            Main
10235Grand        Grand
Am I missing something?
 
Upvote 0

jbeaucaire

Well-known Member
Joined
May 8, 2002
Messages
6,012
Sorry Ron, yes, it works. My system was including a hidden character when I copy/pasted that befuddled me temporarily.
 
Upvote 0

Forum statistics

Threads
1,191,399
Messages
5,986,363
Members
440,020
Latest member
IfsandSums

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