Hi,
I have a cell which contains "49423011June14"
I would like a formula which just extracts the first number up to an occurance of a letter e.g. 49423011
Can anyone help please?
Paul
Hi,
I have a cell which contains "49423011June14"
I would like a formula which just extracts the first number up to an occurance of a letter e.g. 49423011
Can anyone help please?
Paul
This array formula seems to work
=1*MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$9),1)),0),COUNT(1*MID(A1,ROW($1:$9),1)))
This is limited to 9 numbers
Increase the $9s if you want more numbers
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Perfect - thank you!!
Also, non-array:
=LEFT(A1,MATCH(1,INDEX(0+ISERR(0+MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)),,),0)-1)
Regards
=LOOKUP(9^9,LEFT(A1,ROW(1:256))*1,LEFT(A1,ROW(1:256))*1)
Try this
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks