Reputation: 945
I'm looking for the equivalent of the COUNTIF(A1:A100;TRUE)
formula of excel,
which won't happen to function in google sheets.
Had already tried to SUM(--(A1:A100))
, neither this doesn't seem to do the job.
The above-mentioned formulas do function in excel/numbers, but in google sheets. Google sheets outcome is zero for this formula.
Edit: Created a copy of the sheet and published -> Google Sheet
Edit2: Was my fault... I used the german expression SUMIF() instead of COUNTIF(). Sheets should definitely not have multilingual expressions -.- Credits goes to @AnonymesEinhorn. Thank you.
Upvotes: 2
Views: 3057
Reputation: 1
not sure how you getting those booleans but it works with text and even checkbox:
=COUNTIF(A1:A100; TRUE)
Upvotes: 1