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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,215,641
Messages
6,125,980
Members
449,276
Latest member
surendra75

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