
Examples of restrictions are: "Chocolate", "42", ">= 42", and " 42". Restrictions are described using Query-by-Example notation and include a value to match or a comparison operator followed by a comparison value. Every other row in Criteria represents a filter, a set of restrictions on the corresponding fields. The first row in Criteria specifies field names. It is structured such that the first row contains the field name(s) to which the criterion (criteria) will be applied, and subsequent rows contain the conditional test(s).


Each database function, Dfunction, computes the corresponding function on a subset of a cell range regarded as a database table. Where D function is one of the following:ĭatabase functions are convenient when Google Sheets is used to maintain structured data, like a database. Syntax: Dfunction(Database_arr, Field_str|num, Criteria_arr)
