Sort table

cristit

New Member
Joined
Apr 27, 2017
Messages
1
Hello,
I have a survey which returns answers as comments (as text). Each answer is made by people how have specific atributes (resulted in specific columns).
Example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]type A
[/TD]
[TD]type A
[/TD]
[TD]type B
[/TD]
[/TR]
[TR]
[TD]ID
[/TD]
[TD]name
[/TD]
[TD]Q1
[/TD]
[TD]Q2
[/TD]
[TD]Q3
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]name 1
[/TD]
[TD]text 1-1
[/TD]
[TD]text 1-2
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD]text 2-1
[/TD]
[TD][/TD]
[TD]text 2-3
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]name 2
[/TD]
[TD]text 3-1
[/TD]
[TD]text 3-2
[/TD]
[TD]text 3-3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]name 3
[/TD]
[TD][/TD]
[TD]text 4-2
[/TD]
[TD]text 4-3
[/TD]
[/TR]
</tbody>[/TABLE]

Respondents answer to some questions, not all.
I need to do:
- 1 column with all answers (ignoring blank) from multiple columns
- next column to show respondent ID, name
- next column show the name of the question
- next column show the Type group from where the question is.

I mention that the table is quite large (300 rows of respondents; ~200 questions for each one)

Thanks for all your help
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,226,113
Messages
6,189,046
Members
453,522
Latest member
Seeker2025

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