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

Proper use of DCOUNTA() in Google Sheets

$
0
0

I'm trying to count data in my database using multiple criteria as in

=DCOUNTA(DatosBanderas;"MUNICIPIO";{{"Correcto";"=true"},{"Provincia";"=Barcelona"}})

I get Formula parse error. However, simpler queries as

 =DCOUNTA(DatosBanderas;"MUNICIPIO";{"Correcto";"=true"})

or

 =DCOUNTA(DatosBanderas;"MUNICIPIO";{"Provincia";"=Barcelona"})

do work. Using

=DCOUNTA(DatosBanderas;"MUNICIPIO";critrange)

with "critrange" a two by two cell range with contents "Provincia", "Correcto" in the top row and "Barcelona" and "true" in the bottom row also does work.

What am I doing wrong?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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