DPRODUCT function in Excel
If the PRODUCT () function only helps you multiply values, then the DPRODUCT () function helps you multiply values according to the specified conditions.
The following article describes the syntax and usage of the DPRODUCT () function in Excel.
Description
The DPRODUCT () function returns the value of the multiplication of values in a column of a list or database under a specified condition.
Syntax
= DPRODUCT (database, field, criteria)
Inside:
- database: is a series of cells that make up a list or database including data to be processed by DPRODUCT () including field names (column titles).
- field: the field (column) of data used in the function. You can write text as the column name enclosed in quotation marks (eg "Age", "Salary"), the field can also be a number representing the position of the column (like 1 for the first column, 2 for the second column .) or you can enter the name of the cell directly containing the column header (A1, A5 .).
- criteria: is the range of cells that contain conditions, you can use any range for criteria but it must contain at least one column header and a cell below that contains conditions.
Note
- You should set the criteria range on the worksheet so that when adding data, the range of conditions does not change.
- The scope of the conditions that need to be separated is not inserted into the list or database to be processed.
- Criteria must contain at least column headers and a cell containing conditions under column headers.
For example
Calculate the product of the numbers in the Value column with STT <= 4.
Create criteria:
Apply DPRODUCT (): = DPRODUCT (C8: D14, D8, C5: C6)
C8: D14 is a database table that contains column headings.
D8 is the name of the column heading to calculate.
C5: C6 is the criteria condition range.
We will get the following result:
Above the article has introduced specific syntax and examples of using DPRODUCT () function in Excel. Depending on the requirements of each problem, you apply the function accordingly. Good luck!
You should read it
- How to use the SUM function to calculate totals in Excel
- How to use the LEN function in Excel
- How to use COUNTIF function on Excel
- How to use the MOD function and QUOTIENT function in Excel
- How to use MID functions to get strings in Excel
- How to use Excel's VALUE function
- How to use the WRAPROWS function in Excel
- How to use the IFS function in Excel 2016
May be interested
- How to use the IFS function in Excel 2016the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
- How to use the NPER function in Excel to plan loans and savingsdo you want to effectively manage and control your personal finances? then we invite you to learn how to use excel's nper function.
- How to use the function to delete spaces in Exceldeleting white space with functions in excel makes it easier for users to handle content, instead of traditional editing.
- How to fix the SUM function doesn't add up in Excelin the process of summing with sum in excel, you will encounter some errors such as not jumping the number, not adding the sum. so how to handle this problem?
- How to use the SUBTOTAL function in Excelthe subtotal function in excel is used in many different cases, helping you to sum subtotals in a list or database, unlike the sum function in excel such as counting cells, calculating average, finding the largest / smallest value. or sum the filtered list values in excel
- Save time with these text formatting functions in Microsoft Excelmicrosoft excel is a main application for anyone who has to work with numbers, from students to accountants. but its usefulness extends beyond a large database, it can do a lot of great things with text. the functions listed below will help you analyze, edit, convert, change text and save many hours of boring and repetitive tasks.
- SUMPRODUCT function in Excel: Calculates the sum of corresponding valuesthe sumproduct function is an extremely useful function when you have to deal with a lot of data numbers in microsoft excel. here are the things you need to know about the sumproduct function in excel.
- How to use the SUMIF function in Excelthe sumif function in excel is a function used to compute values in a specified range. the sumif function can be used for summing cells based on the date, data and text that are connected to the specified area.
- How to use the DAVERAGE function in Exceldaverage in excel is a function that calculates the average value of data with given conditions in a spreadsheet. so, how to use this function?
- How to use the kernel function (PRODUCT function) in Excelin excel, product helps users to calculate product values, multiply arguments together, and return their results correctly.