kinda but apparently not quite an array formula...?

Duane

Board Regular
Joined
Mar 14, 2002
Messages
229
I have dates in column B, and I want to count only those dates that are less than the dates in column A. (in other words, count the date in B2 as 1 if it is less than the date in A2, the date in B17 if it is less than the date in A17, etc....and the final count of all dates in B less than dates in A is...??

I'm sure this is a really easy one, but I didn't even know how to search for it incase it had already been answered umpteen times (isn't that word "umpteen" great?!)

Thanks for any help you can provide.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Duane said:
I have dates in column B, and I want to count only those dates that are less than the dates in column A. (in other words, count the date in B2 as 1 if it is less than the date in A2, the date in B17 if it is less than the date in A17, etc....and the final count of all dates in B less than dates in A is...??

I'm sure this is a really easy one, but I didn't even know how to search for it incase it had already been answered umpteen times (isn't that word "umpteen" great?!)

Thanks for any help you can provide.

=SUMPRODUCT(--ISNUMBER($B$2:$B$20),--($B$2:$B$20 < $A$2:$A$20))
 
Upvote 0

Forum statistics

Threads
1,224,416
Messages
6,178,509
Members
452,853
Latest member
philipnjk64

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