Text to Columns Formula

lpsnyc

New Member
Joined
Nov 12, 2020
Messages
15
Office Version
  1. 365
Platform
  1. Windows
I have 3ooo lines of data that contain a text string that I want to split. Each text string is in the following format...
Name: Address
I would like to separate them in two colunms
Column A to contain Name
Column B to contain Address

Since the Names differ in length, I cannot use Text to columns.
Is there a formula I can apply?

Thanks
LPS
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
1668709050027.png


Name Formula =LEFT(C3,FIND(":",C3)-1)
Address Formula =RIGHT(C3,LEN(C3)-FIND(":",C3)-1)
 
Upvote 0
Can you post a few examples of your data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
In that case another option (if you have the new functions) is
Excel Formula:
=TEXTSPLIT(A2,":")
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

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