Hello, everyone. This is my first post so apologies if I am breaking etiquette - I mean not to and please point out if I am. I am hoping someone can help with the following:
I need a formula for the table below that will count the number of times a specified fruit is mentioned in a particular month. I have tried COUNTIF and COUNTIFS but with no luck and I have run out of ideas. So, for example, if I want it to calculate how many times 'apples' appears in the month of May, which is twice, I have been trying the following formula. Grateful for your help. Thanks, Benno.
=COUNTIFS(A:A,">=01/05/2017",A:A,"<=31/05/2017,B:B, "*apples*")
[TABLE="class: outer_border, width: 250"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]Fruit
[/TD]
[/TR]
[TR]
[TD]01/05/17
[/TD]
[TD]apples, oranges
[/TD]
[/TR]
[TR]
[TD]06/05/17
[/TD]
[TD]apples, pears
[/TD]
[/TR]
[TR]
[TD]20/06/17
[/TD]
[TD]pears, bananas
[/TD]
[/TR]
[TR]
[TD]08/08/17
[/TD]
[TD]oranges, apples
[/TD]
[/TR]
[TR]
[TD]11/08/17
[/TD]
[TD]bananas, oranges
[/TD]
[/TR]
[TR]
[TD]15/10/17
[/TD]
[TD]grapes, apples
[/TD]
[/TR]
[TR]
[TD]31/11/17
[/TD]
[TD]pears, grapes
[/TD]
[/TR]
[TR]
[TD]20/12/17
[/TD]
[TD]bananas, oranges
[/TD]
[/TR]
[TR]
[TD]03/01/18
[/TD]
[TD]bananas, pears
[/TD]
[/TR]
[TR]
[TD]11/01/18
[/TD]
[TD]pears, apples
[/TD]
[/TR]
</tbody>[/TABLE]
I need a formula for the table below that will count the number of times a specified fruit is mentioned in a particular month. I have tried COUNTIF and COUNTIFS but with no luck and I have run out of ideas. So, for example, if I want it to calculate how many times 'apples' appears in the month of May, which is twice, I have been trying the following formula. Grateful for your help. Thanks, Benno.
=COUNTIFS(A:A,">=01/05/2017",A:A,"<=31/05/2017,B:B, "*apples*")
[TABLE="class: outer_border, width: 250"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]Fruit
[/TD]
[/TR]
[TR]
[TD]01/05/17
[/TD]
[TD]apples, oranges
[/TD]
[/TR]
[TR]
[TD]06/05/17
[/TD]
[TD]apples, pears
[/TD]
[/TR]
[TR]
[TD]20/06/17
[/TD]
[TD]pears, bananas
[/TD]
[/TR]
[TR]
[TD]08/08/17
[/TD]
[TD]oranges, apples
[/TD]
[/TR]
[TR]
[TD]11/08/17
[/TD]
[TD]bananas, oranges
[/TD]
[/TR]
[TR]
[TD]15/10/17
[/TD]
[TD]grapes, apples
[/TD]
[/TR]
[TR]
[TD]31/11/17
[/TD]
[TD]pears, grapes
[/TD]
[/TR]
[TR]
[TD]20/12/17
[/TD]
[TD]bananas, oranges
[/TD]
[/TR]
[TR]
[TD]03/01/18
[/TD]
[TD]bananas, pears
[/TD]
[/TR]
[TR]
[TD]11/01/18
[/TD]
[TD]pears, apples
[/TD]
[/TR]
</tbody>[/TABLE]