I'm trying to come up with a count formula to meet my needs.
I want the formula to count each row in a sheet that meets two requirements.
Here is an example of how the table looks:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Title[/TD]
[TD]Level[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Water[/TD]
[TD]Critical[/TD]
[TD]1/2/13[/TD]
[/TR]
[TR]
[TD]Power[/TD]
[TD]High[/TD]
[TD]1/15/13[/TD]
[/TR]
[TR]
[TD]Power[/TD]
[TD]High[/TD]
[TD]1/15/13[/TD]
[/TR]
[TR]
[TD]Filter[/TD]
[TD]Low[/TD]
[TD]1/30/13[/TD]
[/TR]
[TR]
[TD]Heat[/TD]
[TD]High[/TD]
[TD]2/5/13[/TD]
[/TR]
[TR]
[TD]Ducts[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
[TR]
[TD]Lock[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
[TR]
[TD]Window[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
</tbody>[/TABLE]
I have this formula for counting how many rows fall in a specific month:
And I have this formula for counting how many rows contain a specific text (Level)
I need to combine them somehow. Not sure if it is possible to combine these two exact methods but I need something that lets me count the rows that are of a specific month and of a specific level.
Thanks for any help everyone.
I want the formula to count each row in a sheet that meets two requirements.
- A cell in a certain column contains a specific text.
- A cell in a certain column falls within a specific month, the cell is currently in the mm/dd/yyyy format.
Here is an example of how the table looks:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Title[/TD]
[TD]Level[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Water[/TD]
[TD]Critical[/TD]
[TD]1/2/13[/TD]
[/TR]
[TR]
[TD]Power[/TD]
[TD]High[/TD]
[TD]1/15/13[/TD]
[/TR]
[TR]
[TD]Power[/TD]
[TD]High[/TD]
[TD]1/15/13[/TD]
[/TR]
[TR]
[TD]Filter[/TD]
[TD]Low[/TD]
[TD]1/30/13[/TD]
[/TR]
[TR]
[TD]Heat[/TD]
[TD]High[/TD]
[TD]2/5/13[/TD]
[/TR]
[TR]
[TD]Ducts[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
[TR]
[TD]Lock[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
[TR]
[TD]Window[/TD]
[TD]Low[/TD]
[TD]2/15/13[/TD]
[/TR]
</tbody>[/TABLE]
I have this formula for counting how many rows fall in a specific month:
Code:
=SUMPRODUCT(--(C$2:C$1048576<>""),--(MONTH(C$2:C$1048576)=1))
And I have this formula for counting how many rows contain a specific text (Level)
Code:
=COUNTIF(B2:B1048576, "High")
I need to combine them somehow. Not sure if it is possible to combine these two exact methods but I need something that lets me count the rows that are of a specific month and of a specific level.
Thanks for any help everyone.