djmixer135
New Member
- Joined
- Nov 19, 2018
- Messages
- 13
Hi there,
I have two sheets on a workbook - a summary table and a master record table.
For each record on my master table, I want to add it to a count on my summary sheet (see below).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Summary Table[/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]01/01/2018[/TD]
[TD]Cat A[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]01/02/2018[/TD]
[TD]Cat B[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]01/03/2018[/TD]
[TD]Cat A[/TD]
[/TR]
</tbody>[/TABLE]
Whilst I would normally perform this task using COUNTIFS(), this function does not support the functions MONTH() and YEAR(). Instead, I am using SUMPRODUCT.
So far, my count is working as expected for the 'Name' and 'Date' criteria. However, I would like to add a drop-down menu alongside my summary table allowing the user to select the summary of the different record types. 'Cat A', 'Cat B' or 'ALL CATEGORIES'.
Does anyone know how I would be able to do this?
Thanks in advanced!
I have two sheets on a workbook - a summary table and a master record table.
For each record on my master table, I want to add it to a count on my summary sheet (see below).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Summary Table[/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]01/01/2018[/TD]
[TD]Cat A[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]01/02/2018[/TD]
[TD]Cat B[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]01/03/2018[/TD]
[TD]Cat A[/TD]
[/TR]
</tbody>[/TABLE]
Whilst I would normally perform this task using COUNTIFS(), this function does not support the functions MONTH() and YEAR(). Instead, I am using SUMPRODUCT.
So far, my count is working as expected for the 'Name' and 'Date' criteria. However, I would like to add a drop-down menu alongside my summary table allowing the user to select the summary of the different record types. 'Cat A', 'Cat B' or 'ALL CATEGORIES'.
Does anyone know how I would be able to do this?
Thanks in advanced!