Can Excel Auto Report Data in a Sheet Based off of Column Headings?

Yishay23

New Member
Joined
Jul 24, 2017
Messages
1
I have data in excel broken up by different headers. I want to see if there is a way excel can automatically report volume of this data. Say, how many rows are a under a certain category and label. I currently do this using another excel file and summing but it takes manual input. An example is the table below. What I want is to input a formula into a separate cell or sheet that says under the red label there is 1 animal case and 1 clothes case.

Data:[TABLE="width: 500"]
<tbody>[TR]
[TD]Category[/TD]
[TD]Label[/TD]
[TD]Case Ref[/TD]
[/TR]
[TR]
[TD]Animals[/TD]
[TD]Red[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Cars[/TD]
[TD]Blue[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Yellow[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Clothes[/TD]
[TD]Red[/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]

Desired Outcome:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Red[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Animals[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Clothes[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,225,767
Messages
6,186,907
Members
453,386
Latest member
testmaster

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top