philalethes
New Member
- Joined
- Aug 10, 2018
- Messages
- 6
Hello,
I am trying to figure how to count cells if a range contains a date that is in the month of January and another range in the same row is greater than zero.
I have read online that a blank cell will make Excel think that the blank cell is in the month of January. I do have a formula that will count the number of January cells that aren't blank correctly:
=SUMPRODUCT((MONTH('Region'!$C$11:$C$101)=1)*('Region'!$C$11:$C$101 <>""))
I want to add an extra criteria that will count cells in another range that are greater than 1
=SUMPRODUCT((MONTH('Region'!$C$11:$C$101)=1)*('Region'!$C$11:$C$101 <>"")) and ('Region'!$G$11:$G$101>0)
I have no idea how to do this. I have tried many combinations of things and cannot get it to work. I also cannot find anything online that covers this specific scenario.
Any help would be greatly appreciated! Thanks!
I am trying to figure how to count cells if a range contains a date that is in the month of January and another range in the same row is greater than zero.
I have read online that a blank cell will make Excel think that the blank cell is in the month of January. I do have a formula that will count the number of January cells that aren't blank correctly:
=SUMPRODUCT((MONTH('Region'!$C$11:$C$101)=1)*('Region'!$C$11:$C$101 <>""))
I want to add an extra criteria that will count cells in another range that are greater than 1
=SUMPRODUCT((MONTH('Region'!$C$11:$C$101)=1)*('Region'!$C$11:$C$101 <>"")) and ('Region'!$G$11:$G$101>0)
I have no idea how to do this. I have tried many combinations of things and cannot get it to work. I also cannot find anything online that covers this specific scenario.
Any help would be greatly appreciated! Thanks!