gorillawar
New Member
- Joined
- Aug 1, 2018
- Messages
- 19
Hello,
I am trying to count the number of word occurrences for a specific word within arange, but only if it matches a specific month.
[TABLE="width: 121"]
<tbody>[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
[TR]
[TD="width: 79"] [/TD]
[TD="width: 83"] [/TD]
[/TR]
</tbody>[/TABLE]
I have tried =COUNTIF(B1:B7,"QA/OPS")+COUNTIF(B1:B7,"OPS")*(MONTH(A1:A7)=1)
It just returns a 1, instead of a 4, since there are 4occurrences of the word “OPS” within January
Any help is appreciated
Thanks,
I am trying to count the number of word occurrences for a specific word within arange, but only if it matches a specific month.
[TABLE="width: 121"]
<tbody>[TR]
[TD="width: 79"]
05-Jan-18
[TD="width: 83"]
OPS
[/TR]
[TR]
[TD="width: 79"]
12-Jan-18
[TD="width: 83"]
OPS
[/TR]
[TR]
[TD="width: 79"]
19-Jan-18
[TD="width: 83"]
QA/OPS
[/TR]
[TR]
[TD="width: 79"]
26-Jan-18
[TD="width: 83"]
OPS
[/TR]
[TR]
[TD="width: 79"]
02-Feb-18
[TD="width: 83"]
OPS
[/TR]
[TR]
[TD="width: 79"]
16-Feb-18
[TD="width: 83"]
QA
[/TR]
[TR]
[TD="width: 79"]
23-Feb-18
[TD="width: 83"]
OPS
[/TR]
</tbody>[/TABLE]
I have tried =COUNTIF(B1:B7,"QA/OPS")+COUNTIF(B1:B7,"OPS")*(MONTH(A1:A7)=1)
It just returns a 1, instead of a 4, since there are 4occurrences of the word “OPS” within January
Any help is appreciated
Thanks,