Home > Enterprise >  Google Sheets/QUERY/Query to count with criteria from another sheet
Google Sheets/QUERY/Query to count with criteria from another sheet

Time:07-01

Trying to Perform a Count of specific values across 3 ranges from another Google Sheets Doc.

Answered below.

CodePudding user response:

=iferror(index(query({IMPORTRANGE(Source!B2,"TESTING!A2:C")},"select count(Col1) where Col1 = 'John' and Col2 = 1 and Col3 = date '2022-6-30'"),2),0)

enter image description here

  • Related