Count of compared dates in two arrays

rjb2k

New Member
Joined
Mar 21, 2006
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hi, please could someone help?

I'm looking for a formula that will count each occurrence of when a date in column A is greater than the corresponding row in column B (also a date).

So in the below example, the count would be 3
23 May 202112 May 2021
03 Aug 202103 Aug 2021
03 Aug 202101 May 2021
14 Jun 202120 Dec 2020

There are roughly 600 rows of dates in the dataset and dates in both columns are updated / changed periodically.
 

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".
How about
+Fluff 1.xlsm
ABC
1
223/05/202112/05/20213
303/08/202103/08/2021
403/08/202101/05/2021
514/06/202120/12/2020
Master
Cell Formulas
RangeFormula
C2C2=COUNT(FILTER(ROW(A2:A5),A2:A5>B2:B5))
 
Upvote 0
We should be able to count the dates directly rather than the row numbers.

21 08 03.xlsm
ABC
1
223/05/202112/05/20213
33/08/20213/08/2021
43/08/20211/05/2021
514/06/202120/12/2020
Count Dates
Cell Formulas
RangeFormula
C2C2=COUNT(FILTER(A2:A5,A2:A5>B2:B5))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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