CountIfs to see how many Dated in Column N are greater than Column M

USAMax

Well-known Member
Joined
May 31, 2006
Messages
849
Office Version
  1. 365
Platform
  1. Windows
I have multiple criteria and the last one is comparing two columns with dates. Here is what I have so far:

=COUNTIFS('eMail Tracker'!A:A,"<>",'eMail Tracker'!K:K,"",'eMail Tracker'!O:O,">" & NOW()-1,'eMail Tracker'!M:M,"<" & 'eMail Tracker'!N:N)

This checks for:
Column A is not blank
Column K is blank
Column 0 is within the last 24 hours
Column M is less than Column N (These columns are both dates with time.)
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
With the last criteria, I think you'll need to convert this to a SUMPRODUCT:

Code:
=SUMPRODUCT(('eMail Tracker'!A:A<>"")*('eMail Tracker'!K:K="")*('eMail Tracker'!O:O>(NOW()-1))*('eMail Tracker'!M:M<'eMail Tracker'!N:N))

WBD
 
Upvote 0
wideboydixon, I must have been sick the day they taught * with SUMPRODUCT!

This is perfect, thank you!
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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