[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Collapse]Spreadsheet
    Product Structure
   [Expand]Getting Started
   [Expand]Spreadsheet Document
    Supported Formats
   [Expand]Cell Basics
   [Collapse]Formulas
    [Collapse]Functions
      Mathematical Functions
      Statistical Functions
      Date and Time Functions
      Text Functions
      Financial Functions
      Logical Functions
      Lookup and Reference Functions
      Engineering Functions
      Information Functions
      Compatibility Functions
      Database Functions
      Web Functions
      User-Defined Functions (UDF)
      Real Time Data (RTD) function
     Operators
     Array Formulas
     Calculation
     Formula Engine
     Formula AutoComplete
    Defined Names
    Data Binding
    Data Validation
   [Expand]Data Presentation
   [Expand]Pivot Table Overview
   [Expand]Charting Overview
    Shapes
    Printing
    Protection
    Find and Replace
   [Expand]Mail Merge
   [Expand]Visual Elements
    Services
    Themes and Templates
   [Expand]Shortcuts
   [Expand]Examples
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Database Functions

This document briefly describes database functions implemented in the Spreadsheet.

The database functions operates on a range of cells that makes up the 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.

The database (or list) is identified as the datalist parameter in function syntax.

Name Description Syntax
DAVERAGE Returns the average of selected database entries. DAVERAGE(datalist, field, criteria)
DCOUNT Counts the cells that contain numbers in a database. DCOUNT(datalist, field, criteria)
DCOUNTA Counts nonblank cells in a database. DCOUNTA(datalist, field, criteria)
DGET Extracts from a database a single record that matches the specified criteria. DGET(datalist, field, criteria)
DMAX Returns the maximum value from selected database entries. DMAX(datalist, field, criteria)
DMIN Returns the minimum value from selected database entries. DMIN(datalist, field, criteria)
DPRODUCT Multiplies the values in a particular field of records that match the criteria in a database. DPRODUCT(datalist, field, criteria)
DSTDEV Estimates the standard deviation based on a sample of selected database entries. DSTDEV(datalist, field, criteria)
DSTDEVP Calculates the standard deviation based on the entire population of selected database entries. DSTDEVP(datalist, field, criteria)
DSUM Adds the numbers in the field column of records in the database that match the criteria. DSUM(datalist, field, criteria)
DVAR Estimates variance based on a sample from selected database entries. DVAR(datalist, field, criteria)
DVARP Calculates variance based on the entire population of selected database entries. DVARP(datalist, field, criteria)

Is this topic helpful?​​​​​​​