ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   WITHIN CELL, PARSE END OF TEXT, START OF NUMBER (https://www.excelbanter.com/excel-discussion-misc-queries/214556-within-cell-parse-end-text-start-number.html)

ORLANDO V[_2_]

WITHIN CELL, PARSE END OF TEXT, START OF NUMBER
 
Any suggestions on parsing data as below. I have a long list.
The one thing they all share in common is that they begin with text and end
with two numbers. Spaces can be anywhere within.

Accor SA France 3,300,000 177,214,917


Sheeloo[_3_]

WITHIN CELL, PARSE END OF TEXT, START OF NUMBER
 
If your data is in Col A
then enter this in B1
=MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$255),1)),0)
and press CTRL-SHIFT-ENTER

this will give you the position of first number in the string

Then you can use
=Left(A1,B1-1) to get the text string

=MID(A1,B1,Len(A1)-B1+1) to get the numbers

You can then split the numbers on the blank in between by Data-Text to
columns


"ORLANDO V" wrote:

Any suggestions on parsing data as below. I have a long list.
The one thing they all share in common is that they begin with text and end
with two numbers. Spaces can be anywhere within.

Accor SA France 3,300,000 177,214,917


JE McGimpsey

WITHIN CELL, PARSE END OF TEXT, START OF NUMBER
 
See one answer in my reply to your prior post...

Please don't post multiple times - it just tends to fragment any answers
you get and to waste the time of those answering posts that already have
replies.

In article ,
ORLANDO V wrote:

Any suggestions on parsing data as below. I have a long list.
The one thing they all share in common is that they begin with text and end
with two numbers. Spaces can be anywhere within.

Accor SA France 3,300,000 177,214,917



All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com