extracting data from a string

Longball

New Member
Joined
Feb 3, 2011
Messages
3
Thanks for your help in advance. Here is the deal. I get data off the internet that comes in long strings. I need to extract data out and assign them to columns. if the string looks like this:
Smith, Larry England -3,2
I need to get Smith as LAST NAME, Larry as FIRST NAME, England as COUNTRY, and -3,2 as HANDICAP. I already have the LAST NAME and HANDICAP figured out, it is the FIRST NAME and COUNTRY that are killing me. IDEAS??:eeek:
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Can you use the Text to Columns built in the toolbar. If using Excel 2003 select your data then tap Alt+D+E
Then select fixed width. This will put your text string into separate columns.
 
Upvote 0
Depending on how it's formatted on the internet, have you tried using excel's external data functionallity?
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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