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*")
<tbody>
</tbody>
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*")
Date | Fruit |
01/05/17 | apples, oranges |
06/05/17 | apples, pears |
20/06/17 | pears, bananas |
08/08/17 | oranges, apples |
11/08/17 | bananas, oranges |
15/10/17 | grapes, apples |
31/11/17 | pears, grapes |
20/12/17 | bananas, oranges |
03/01/18 | bananas, pears |
11/01/18 | pears, apples |
<tbody>
</tbody>