Excel: COUNTIF date < today

Solved
Larson -  
 POUAPRENDRE -
Hello everyone,

I'm stuck on a silly issue with Excel.

So, I'm trying to count the number of cells in a range where the dates are before today (i.e., where the date has passed).
For the past hour, I've been unsuccessfully trying to combine the COUNTIF function with date calculations, like:
=COUNTIF(range,date<today />=COUNTIF(range,TODAY()-date>0)
etc...

I think it's the date format I'm entering into the function that isn't correct, but I'm not sure.

If someone could help me...

Thanks in advance!

4 réponses

Mike-31 Posted messages 18405 Registration date   Status Contributeur Last intervention   5 145
 
Hi,

=COUNTIF(A1:A48,"<"&TODAY())

See you later

__________________________________________________________________

Need help. In the forum, volunteers take the time to decipher your sometimes confusing explanations and offer their knowledge.
Once a solution is found, please have the courtesy to mark your status as resolved. This way, your problem can be categorized and serve as a reference for others with similar cases.
31
POUAPRENDRE
 
Thank you for this very simple formula. An old question but one that solves an issue for me today. Good luck.
1