
The search supports regular expressions.ĭPRODUCT(database database_field search_criteria) Returns the minimum content of a cell (field) in a database that matches the specified search_criteria. The search supports regular expressions.ĭMIN(database database_field search_criteria) Returns the maximum content of a cell (field) in a database (all records) that matches the specified search_criteria. In case of an error, the function returns either #VALUE! for no row found, or Err502 for more than one cell found.ĭMAX(database database_field search_criteria) Returns the contents of the referenced cell in a database which matches the specified search_criteria. The search supports regular expressions.ĭGET(database database_field search_criteria) The parameter cannot be empty.ĭCOUNTA(database database_field search_criteria)Ĭounts the number of rows (records) in a database that match the specified search_criteria and contain numeric or alphanumeric values. For the database_field parameter, enter a cell address to specify the column, or enter the number 0 for the entire database. The search supports regular expressions.ĭCOUNT(database database_field search_criteria)Ĭounts the number of rows (records) in a database that match the specified search_criteria and contain numerical values. Returns the average of the values of all cells (fields) in all rows (database records) that match the specified search_criteria. ĭAVERAGE(database database_field search_criteria) You can switch the automatic evaluation of regular expressions on and off in Tools > Options > Calc > Calculate. To search for text that is also a regular expression, precede every character with a \ character. For example, “all.* †can be entered to find the first location of “all †followed by any characters. Empty cells in the search criteria range will be ignored.Īll of the search-criteria arguments for the database functions support regular expressions. Search_criteria is a cell range containing the search criteria. To reference a column by using the column header name, place quotation marks around the header name. The number 0 specifies the whole data range. It is not related to the search criteria itself.

The database functions use the following common arguments:ĭatabase is a range of cells which define the database.ĭatabase_field specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. There is no connection between a database in and the Database category in OOo Calc. A Calc database is simple a range of cells that comprises a block of related data where each row contains a separate record. This section deals with functions used with data organized as one row of data for one record.The Database category should not be confused with the Base database component in.
