Back to Devexpress

Database Functions

windowsforms-15789-controls-and-libraries-spreadsheet-formulas-functions-database-functions.md

latest3.2 KB
Original Source

Database Functions

  • Jan 11, 2021
  • 2 minutes to read

This document describes database functions supported by the WinForms Spreadsheet control.

Database functions use cell ranges that make up a list or database. A database in this context is a list of related data in which rows are records and columns are fields. The first row of the list contains labels for each column.

A database (or list) is defined by the datalist parameter in the function syntax.

NameDescriptionSyntax
DAVERAGEReturns the average of selected database entries.DAVERAGE(datalist, field, criteria)
DCOUNTCounts the cells that contain numbers in a database.DCOUNT(datalist, field, criteria)
DCOUNTACounts nonblank cells in a database.DCOUNTA(datalist, field, criteria)
DGETExtracts from a database a single record that matches the specified criteria.DGET(datalist, field, criteria)
DMAXReturns the maximum value from selected database entries.DMAX(datalist, field, criteria)
DMINReturns the minimum value from selected database entries.DMIN(datalist, field, criteria)
DPRODUCTMultiplies the values in a particular field of records that match the criteria in a database.DPRODUCT(datalist, field, criteria)
DSTDEVEstimates the standard deviation based on a sample of selected database entries.DSTDEV(datalist, field, criteria)
DSTDEVPCalculates the standard deviation based on the entire population of selected database entries.DSTDEVP(datalist, field, criteria)
DSUMAdds the numbers in the field column of records in the database that match the criteria.DSUM(datalist, field, criteria)
DVAREstimates variance based on a sample from selected database entries.DVAR(datalist, field, criteria)
DVARPCalculates variance based on the entire population of selected database entries.DVARP(datalist, field, criteria)

See Also

How to: Use Functions and Nested Functions in Formulas