Check Sheet Logo
Check Sheet

DPRODUCT

The DPRODUCT formula is used to multiply the values in a column of a database that match specific criteria. It is commonly used to calculate the product of a range of numbers that meet a certain condition.

Usage

Use the DPRODUCT formula with the syntax shown below, it has 3 required parameters:

=DPRODUCT(database, field, criteria)
Parameters:
  1. database (required):
    The range of cells that makes up the database. Each column in the database should contain a different type of data, such as names, dates, or numbers.
  2. field (required):
    The column or field that contains the values to be multiplied.
  3. criteria (required):
    The range of cells that contains the criteria for which values to include in the product. Each column in the criteria range should correspond to a column in the database and contain a different criterion, such as a name, date, or number.

Examples

Here are a few example use cases that explain how to use the DPRODUCT formula in Google Sheets.

Calculate the product of a range of numbers

Suppose you have a database of sales figures and you want to calculate the product of all the sales that occurred in January. You can use DPRODUCT to multiply the values in the 'Sales' column that correspond to January dates in the 'Date' column.

Calculate the product of a range of numbers that meet multiple criteria

Suppose you have a database of student grades and you want to calculate the product of all the grades for students that received an A in the 'English' class. You can use DPRODUCT to multiply the values in the 'Grade' column that correspond to students that received an A in the 'English' class.

Calculate the product of a range of numbers that meet a single criterion

Suppose you have a database of inventory items and you want to calculate the product of all the prices for items that have a quantity of 10 or more. You can use DPRODUCT to multiply the values in the 'Price' column that correspond to items with a quantity of 10 or more in the 'Quantity' column.

Common Mistakes

DPRODUCT not working? Here are some common mistakes people make when using the DPRODUCT Google Sheets Formula:

Incorrect range for database

One common mistake is selecting the wrong range for the database argument. Make sure that the range includes all the rows and columns of the data you want to use.

Incorrect field for field

Another common mistake is selecting the wrong field for the field argument. Make sure that the column specified contains the values you want to multiply together.

Missing or incorrect criteria

A common mistake is leaving the criteria argument empty, which results in all rows being included in the multiplication. Make sure to specify the criteria you want to use to filter the data.

The following functions are similar to DPRODUCT or are often used with it in a formula:

  • DSUM

    The DSUM function is a database function that calculates the sum of a set of values in a specified field, subject to the provided criteria. It is commonly used for filtering large data sets based on certain criteria and calculating the total sum of a particular field that matches the criteria.

  • DCOUNT

    The DCOUNT function is a database function in Google Sheets that counts the number of cells in a column of a database that match a set of criteria. This function is most commonly used to filter a database based on certain criteria and count the number of cells that meet that criteria.

  • DAVERAGE

    The DAVERAGE function calculates the average value of a specified field in a database that matches the given criteria. The function is commonly used in financial and business analysis to calculate averages based on specific conditions.

  • DGET

    The DGET formula is used to retrieve a single value from a database table based on specified criteria. It returns the value of a cell in a column that meets the criteria specified in the formula.

Learn More

You can learn more about the DPRODUCT Google Sheets function on Google Support.