Hello All - My first time
I have data similar to the following:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Column 1[/TD]
[TD="align: center"]Column 2[/TD]
[TD="align: center"]Column 3[/TD]
[TD="align: center"]Column 4[/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD]Eagle[/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD]Robin[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD]Eagle[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 335"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to produce a table that shows the total instances of each type of bird from all four columns such that:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Bird[/TD]
[TD="align: center"]Total[/TD]
[/TR]
[TR]
[TD]Dove[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Sparrow[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Eagle[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD="align: right"]21[/TD]
[/TR]
</tbody>[/TABLE]
I tried to create a pivot table, but it only counts the first column, or includes the last three each as a subcategory of the column right before it.
Does anyone know how to do this? Preferably using a pivot table, but, also with VBA if necessary.
Thank you in advance.
I have data similar to the following:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Column 1[/TD]
[TD="align: center"]Column 2[/TD]
[TD="align: center"]Column 3[/TD]
[TD="align: center"]Column 4[/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD]Eagle[/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD]Robin[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD]Sparrow[/TD]
[TD]Eagle[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dove[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 335"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to produce a table that shows the total instances of each type of bird from all four columns such that:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Bird[/TD]
[TD="align: center"]Total[/TD]
[/TR]
[TR]
[TD]Dove[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Robin[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Ostrich[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Sparrow[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Eagle[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Dodo[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD="align: right"]21[/TD]
[/TR]
</tbody>[/TABLE]
I tried to create a pivot table, but it only counts the first column, or includes the last three each as a subcategory of the column right before it.
Does anyone know how to do this? Preferably using a pivot table, but, also with VBA if necessary.
Thank you in advance.