Morning all,
I have a matrix of data that I want to turn into a database type listing so I can use pivot tables on the data.
By way of example, I have a table that looks something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]WBS ABC[/TD]
[TD]WBS XYZ[/TD]
[TD]WBS LMN[/TD]
[/TR]
[TR]
[TD]GL Code XYZ[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]$12,000[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GL Code 123[/TD]
[TD][/TD]
[TD][/TD]
[TD]$12,300[/TD]
[/TR]
</tbody>[/TABLE]
I need to arrange the data like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]GL Code XYZ[/TD]
[TD]WBS ABC[/TD]
[TD]$10,000[/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]WBS ABC[/TD]
[TD]$12,000[/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]WBZ XYZ[/TD]
[TD]$10,000
[/TD]
[/TR]
[TR]
[TD]GL Code 123[/TD]
[TD]WBS LMN[/TD]
[TD]$12,300[/TD]
[/TR]
</tbody>[/TABLE]
The actual table I have is 8 rows by 53 columns and changes once a month.
Any tips on how to rearrange the data?
Tuttle.
I have a matrix of data that I want to turn into a database type listing so I can use pivot tables on the data.
By way of example, I have a table that looks something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]WBS ABC[/TD]
[TD]WBS XYZ[/TD]
[TD]WBS LMN[/TD]
[/TR]
[TR]
[TD]GL Code XYZ[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]$12,000[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GL Code 123[/TD]
[TD][/TD]
[TD][/TD]
[TD]$12,300[/TD]
[/TR]
</tbody>[/TABLE]
I need to arrange the data like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]GL Code XYZ[/TD]
[TD]WBS ABC[/TD]
[TD]$10,000[/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]WBS ABC[/TD]
[TD]$12,000[/TD]
[/TR]
[TR]
[TD]GL Code ABC[/TD]
[TD]WBZ XYZ[/TD]
[TD]$10,000
[/TD]
[/TR]
[TR]
[TD]GL Code 123[/TD]
[TD]WBS LMN[/TD]
[TD]$12,300[/TD]
[/TR]
</tbody>[/TABLE]
The actual table I have is 8 rows by 53 columns and changes once a month.
Any tips on how to rearrange the data?
Tuttle.