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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,215,359
Messages
6,124,488
Members
449,165
Latest member
ChipDude83

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