Extract Data from Cells

jpenn

Board Regular
Joined
Jul 15, 2004
Messages
79
Greetings –

We’ve downloaded survey data from a web form into a CSV file that we can use in Excel. A single cell might contain the following data (including the numbers 1., 2., 3., etc up to 10.):

1. Age: 42
2. Gender: Female
3. Country: USA
4. Zip Code: 12345


Each cell has line breaks with non-printable boxes appearing between each response.

We want to do some demographic analyses and need to extract the Gender value from each record, the Country value from each record, the zip for each record, and so on.

Because all 10 responses are in one cell, and the length of responses might vary, how can we extract the data we need from each record?

Thanks so much for any help on this.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
That didn't do it automatically, but I used the suggestion to find a workaround that did it! Thanks for planting the seed - that will get me what I need!!
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

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