Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

COUNTIF with function in criterion

$
0
0

I'd like to count all cells in a range where a given function evaluates to TRUE. The documentation for COUNTIF& COUNTIFS show text-matching and evaluation of =,<>,<,>, but nothing more sophisticated.

Here's an example with the function ISDATE (could be any TRUE/FALSE function) as a sheet or as a table:

AB
17/28/2021<- is a date
212/7/1941<- is a date
3=TODAY()<- is a date
4foobar<- is not a date
5<- is not a date
6=COUNTIF(A1:A5, "=ISDATE()")<- should evaluate to 3

Is something like that possible?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>