Hello people, I am currrently watching an audiovisual lecture and the tutors used some data on excel to work. I had to downlaod the same data from worldbank dataweb. The data is pulled from the data is not sorted out as the one the tutor used in the video, how do I sort it...
Raw Table Format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Country Code
[/TD]
[TD]Country Name
[/TD]
[TD]Series Name
[/TD]
[TD]Series Code
[/TD]
[TD]2004
[/TD]
[TD]2005
[/TD]
[TD]2006
[/TD]
[TD]2007
[/TD]
[TD]2008
[/TD]
[TD]2009
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]Access to Electricity
[/TD]
[TD][TABLE="width: 106"]
<colgroup><col width="106"></colgroup><tbody>[TR]
[TD="width: 106"]EG.ELC.ACCS.ZS
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45
[/TD]
[TD]3342
[/TD]
[TD]12
[/TD]
[TD]345
[/TD]
[TD]23
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentna
[/TD]
[TD][TABLE="width: 130"]
<colgroup><col width="130"></colgroup><tbody>[TR]
[TD="width: 130"]Age dependency ratio (% of working-age population)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 106"]
<colgroup><col width="106"></colgroup><tbody>[TR]
[TD="width: 106"]SP.POP.DPND[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]451
[/TD]
[TD]2344
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
Sorted Table Format
[TABLE="width: 500"]
<tbody>[TR]
[TD]Country Code
[/TD]
[TD]Country name
[/TD]
[TD]Year
[/TD]
[TD]Series Name
[/TD]
[TD]Year
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD][TABLE="width: 106"]
<tbody>[TR]
[TD="width: 106"]2004
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]Access to Electricity
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]2005
[/TD]
[TD]Access to Electricity
[/TD]
[TD]3342
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]2004
[/TD]
[TD]Age dependency ratio (% of working-age population)
[/TD]
[TD]451
[/TD]
[/TR]
</tbody>[/TABLE]
How can I sort this table in this pattern>? Thanks
Raw Table Format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Country Code
[/TD]
[TD]Country Name
[/TD]
[TD]Series Name
[/TD]
[TD]Series Code
[/TD]
[TD]2004
[/TD]
[TD]2005
[/TD]
[TD]2006
[/TD]
[TD]2007
[/TD]
[TD]2008
[/TD]
[TD]2009
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]Access to Electricity
[/TD]
[TD][TABLE="width: 106"]
<colgroup><col width="106"></colgroup><tbody>[TR]
[TD="width: 106"]EG.ELC.ACCS.ZS
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45
[/TD]
[TD]3342
[/TD]
[TD]12
[/TD]
[TD]345
[/TD]
[TD]23
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentna
[/TD]
[TD][TABLE="width: 130"]
<colgroup><col width="130"></colgroup><tbody>[TR]
[TD="width: 130"]Age dependency ratio (% of working-age population)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 106"]
<colgroup><col width="106"></colgroup><tbody>[TR]
[TD="width: 106"]SP.POP.DPND[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]451
[/TD]
[TD]2344
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
Sorted Table Format
[TABLE="width: 500"]
<tbody>[TR]
[TD]Country Code
[/TD]
[TD]Country name
[/TD]
[TD]Year
[/TD]
[TD]Series Name
[/TD]
[TD]Year
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD][TABLE="width: 106"]
<tbody>[TR]
[TD="width: 106"]2004
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]Access to Electricity
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]2005
[/TD]
[TD]Access to Electricity
[/TD]
[TD]3342
[/TD]
[/TR]
[TR]
[TD]Arg
[/TD]
[TD]Argentina
[/TD]
[TD]2004
[/TD]
[TD]Age dependency ratio (% of working-age population)
[/TD]
[TD]451
[/TD]
[/TR]
</tbody>[/TABLE]
How can I sort this table in this pattern>? Thanks