Select the text after the space after the last digit in the cell?

araris

New Member
Joined
Aug 1, 2019
Messages
7
I have to solve the question above to avoid manually splitting 1000 lines. I'm not quite sure if the part about the last digit is possible however. Can that be done somehow? I think I can manage the rest if I knew how to get the index of the last digit in a cell.

Some address in some city #50 Boris Johnson
Some other address in some city #20A Donald Trump

The idea here is to catch the names at the end, however they are not structured in any way, maybe one name or more may have additional info.
Thanks for any help you can offer.
 
Last edited by a moderator:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Re: How do I select the text after the space after the last digit in the cell?

Ok, but that file does not reflect the image you put up earlier, filled with #VALUE errors.
You may get #VALUE errors if you don't enter the formula as an array.

I entered the formula as an array on the spreadsheet you just referenced and I got no #VALUE errors and the output looked ok.
 
Upvote 0
Re: How do I select the text after the space after the last digit in the cell?

You're correct, I copied the stuff in a clean file and there were no #VALUE errors in the new one. I'm guessing there were bad chars inside the original. Thanks for the help.
 
Upvote 0
Re: How do I select the text after the space after the last digit in the cell?

You're correct, I copied the stuff in a clean file and there were no #VALUE errors in the new one. I'm guessing there were bad chars inside the original. Thanks for the help.

Just out of curiosity, did you see what I posted in Message #11 yet?
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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