Counting occurrence of date in date range being string format

miturand

New Member
Joined
Jul 29, 2016
Messages
18
I have a date ranges as per below. one range per cell.

in the next column i have month and year from any of the below ranges. i.e Oct 2019
I need to count occurrence of of Oct 2019 in the third column in the row corresponding with the actual range, which is Oct - Dec 2019

Jan - Mar 2018
Apr - Jun 2018
Jul - Sept 2018
Oct - Dec 2018
Jan - Mar 2019
Apr - Jun 2019
Jul - Sept 2019
Oct - Dec 2019
Jan - Mar 2020
Apr - Jun 2020
Jul - Sept 2020
Oct - Dec 2020

<colgroup><col></colgroup><tbody>
</tbody>

I would prefer standard formula rather than array or macro if poss
any help?
Best Regards,
Tom
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi,

Could you please explain what you meant by the sentence "I need to count occurrence of of Oct 2019" ?
Do you want the column number ? What should be the result / answer?
 
Upvote 0
in the third column i have values, i.e Oct 2019, May 2020, May 2019, etc. but they may repeat and i need to count occurrence. hope this make sense
 
Upvote 0
Please try to provide more explanation ...
What do you expect the result to be in cell C1?


ABC
1Jan - Mar 2018Oct-19?
2Apr - Jun 2018May-20
3Jul - Sept 2018May-19
4Oct - Dec 2018Apr-18
5Jan - Mar 2019Oct-19
6Apr - Jun 2019Oct-19
7Jul - Sept 2019Jan-20
8Oct - Dec 2019Feb-18
9Jan - Mar 2020Oct-18
10Apr - Jun 2020May-19
11Jul - Sept 2020Jul-19
12Oct - Dec 2020Apr-18

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,622
Messages
6,125,886
Members
449,269
Latest member
GBCOACW

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top