DEV Community

Andrews
Andrews

Posted on • Originally published at geekexcel.com on

How to Use Excel DPRODUCT Function in Office 365? – [with Examples]

Excel DPRODUCT Function:

DPRODUCT Function
DPRODUCT Function

In this article, we will guide you to learn the usage of Excel DPRODUCT Function in Office 365 with its syntax, explanation, and example. Let’s step into this article!! Get an official version of MS Excel from the following link: https://www.microsoft.com/en-in/microsoft-365/excel

DPRODUCT Function – Explanation:

  • This function multiplies the values in the list or database that matches the given condition or criteria.

Syntax:

=DPRODUCT(database, field, criteria)

Arguments Description:

Database – It is the database range including table headers.

*Field – * This is the field name or index to count.

*Criteria – * It is the criteria range including table headers.

Note:

  • You need to give the field argument as a name within the double quotes ( ” “ ) or a number representing the field index.
  • The database and *criteria * range must include the matching headers.

Example:

  • In this screenshot, you can see the database range ( A4:D12 ) and the criteria range ( A1:D2 ).
  • The given condition is “ Product=Pencil, Qty>3 “, and the output is printed in the Cell F5.

Example
Example

Multi-row Criteria

  • Multi-row criteria have one or more rows below the headers. These are joined by using OR logic.
  • The expressions in a given criteria row are joined with AND logic.

Wind-Up:

In this article, you can learn the usage of Excel DPRODUCT Function in Office 365 with its syntax, explanation, and example. Leave your suggestions in the comment section. Thanks for visiting Geek Excel. Keep Learning!!

Similar Articles:

See Also:

Top comments (0)