Hi,
I have to transform a table with multiple repeatable rows into columns.
Tried do use the Offset function but did not work.
I am using Excel 2010.
My raw data looks like this
[TABLE="width: 639"]
<TBODY>[TR]
[TD]Application</SPAN>[/TD]
[TD]Attribute 1</SPAN>[/TD]
[TD]Value 1</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 2</SPAN>[/TD]
[TD]Value 2</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 3</SPAN>[/TD]
[TD]Value 3</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 4</SPAN>[/TD]
[TD]Value 4</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 5</SPAN>[/TD]
[TD]Value 5</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 6</SPAN>[/TD]
[TD]Value 6</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 7</SPAN>[/TD]
[TD]Value 7</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
And the result needs to look like this:
[TABLE="width: 500"]
<TBODY>[TR]
[TD][/TD]
[TD]Attribute 1[/TD]
[TD]Attribute 2[/TD]
[TD]Attribute 3[/TD]
[TD]Attribute 4[/TD]
[TD]Attribute 5[/TD]
[TD]Attribute 6[/TD]
[TD]Attribute 7[/TD]
[/TR]
[TR]
[TD]Application</SPAN>[/TD]
[TD]Value 1</SPAN>[/TD]
[TD]Value 2</SPAN>[/TD]
[TD]Value 3</SPAN>[/TD]
[TD]Value 4</SPAN>[/TD]
[TD]Value 5</SPAN>[/TD]
[TD]Value 6</SPAN>[/TD]
[TD]Value 7</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
As I get the raw data on regular basis and need to transform them every time I get them, I planned to hold them in one sheet and the transformed version of it in another sheet.
Can anyone help?
Thanks
I have to transform a table with multiple repeatable rows into columns.
Tried do use the Offset function but did not work.
I am using Excel 2010.
My raw data looks like this
[TABLE="width: 639"]
<TBODY>[TR]
[TD]Application</SPAN>[/TD]
[TD]Attribute 1</SPAN>[/TD]
[TD]Value 1</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 2</SPAN>[/TD]
[TD]Value 2</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 3</SPAN>[/TD]
[TD]Value 3</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 4</SPAN>[/TD]
[TD]Value 4</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 5</SPAN>[/TD]
[TD]Value 5</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 6</SPAN>[/TD]
[TD]Value 6</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Attribute 7</SPAN>[/TD]
[TD]Value 7</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
And the result needs to look like this:
[TABLE="width: 500"]
<TBODY>[TR]
[TD][/TD]
[TD]Attribute 1[/TD]
[TD]Attribute 2[/TD]
[TD]Attribute 3[/TD]
[TD]Attribute 4[/TD]
[TD]Attribute 5[/TD]
[TD]Attribute 6[/TD]
[TD]Attribute 7[/TD]
[/TR]
[TR]
[TD]Application</SPAN>[/TD]
[TD]Value 1</SPAN>[/TD]
[TD]Value 2</SPAN>[/TD]
[TD]Value 3</SPAN>[/TD]
[TD]Value 4</SPAN>[/TD]
[TD]Value 5</SPAN>[/TD]
[TD]Value 6</SPAN>[/TD]
[TD]Value 7</SPAN>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
As I get the raw data on regular basis and need to transform them every time I get them, I planned to hold them in one sheet and the transformed version of it in another sheet.
Can anyone help?
Thanks