How to append a text string to all cells beginning with a number

Paws7

New Member
Joined
Jan 24, 2016
Messages
5
Hi all,
I have a dataset of 50,000 historical addresses (very messy). Some of these have the structure:

|4 example street|

I know that if the address begins with a number it belongs to a particular city. I want to append this to each of these cells to get:

|4 example street city|

I am thinking an "if then else" but I'm not sure how to construct this.

Can anyone help?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Goodness me, how fantastic!
That's a winner.
Now, there are also some cells that just have
|Street|
That I want to append the city to also. Could you point me in the right direction of how I would write a similar statement for this? So if cell contains "street" then append.
Much appreciated!
 
Upvote 0
Should read
|something street|
where "something" is not always the same so don't think I can use LEFT on this
 
Upvote 0
Thank you very much!

That has done the trick, again. And it also helps me to apply in other ways so thanks again for sharing.

Have a great day.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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