Hi there!
I have a list of data, many with a similar data code. As a result, I'd like to group the datas with the similar data code. Here's an example:
<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>
<TABLE class=tableizer-table>
<TBODY><TR class=tableizer-firstrow><TH>Code</TH><TH>Quantity</TH><TH>Amount</TH></TR><TR><TD>1110</TD><TD>15</TD><TD>8,000.00 </TD></TR><TR><TD>1110</TD><TD>18</TD><TD>4,000.00 </TD></TR><TR><TD>1547</TD><TD>40</TD><TD>2,000.00 </TD></TR><TR><TD>1547</TD><TD>58</TD><TD>3,000.00 </TD></TR><TR><TD>1558</TD><TD>78</TD><TD>4,000.00 </TD></TR><TR><TD>1558</TD><TD>102</TD><TD>1,500.00</TD></TR>
</TABLE>
When "grouped" together, the result would be:
<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>
<TABLE class=tableizer-table>
<TBODY><TR class=tableizer-firstrow><TH>Code</TH><TH>Quantity</TH><TH>Amount</TH></TR><TR><TD>1110</TD><TD>33</TD><TD>12,000.00 </TD></TR><TR><TD>1547</TD><TD>98</TD><TD>5,000.00 </TD></TR><TR><TD>1558</TD><TD>180</TD><TD>5,500.00 </TD></TR>
</TABLE>
Does anyone have any tips on how to do this? I'm looking for an alternative to a Pivot Table.
Thanks!
I have a list of data, many with a similar data code. As a result, I'd like to group the datas with the similar data code. Here's an example:
<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>
<TABLE class=tableizer-table>
<TBODY><TR class=tableizer-firstrow><TH>Code</TH><TH>Quantity</TH><TH>Amount</TH></TR><TR><TD>1110</TD><TD>15</TD><TD>8,000.00 </TD></TR><TR><TD>1110</TD><TD>18</TD><TD>4,000.00 </TD></TR><TR><TD>1547</TD><TD>40</TD><TD>2,000.00 </TD></TR><TR><TD>1547</TD><TD>58</TD><TD>3,000.00 </TD></TR><TR><TD>1558</TD><TD>78</TD><TD>4,000.00 </TD></TR><TR><TD>1558</TD><TD>102</TD><TD>1,500.00</TD></TR>
</TABLE>
When "grouped" together, the result would be:
<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>
<TABLE class=tableizer-table>
<TBODY><TR class=tableizer-firstrow><TH>Code</TH><TH>Quantity</TH><TH>Amount</TH></TR><TR><TD>1110</TD><TD>33</TD><TD>12,000.00 </TD></TR><TR><TD>1547</TD><TD>98</TD><TD>5,000.00 </TD></TR><TR><TD>1558</TD><TD>180</TD><TD>5,500.00 </TD></TR>
</TABLE>
Does anyone have any tips on how to do this? I'm looking for an alternative to a Pivot Table.
Thanks!
Last edited: