
DatabaseLevel: ExpertAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Related functions
DMAX returns the largest value in a column among matching rows. It worked in every Excel version long before MAXIFS existed.
Syntax
=DMAX(database, field, criteria)
| Argument |
What it means |
criteria |
A small criteria range: header row copied from the data, conditions in the rows below. Same row = AND, separate rows = OR. |
Examples
Example 1
=DMAX(A1:F500, "Amount", H1:H2)
Biggest single order for the product typed in H2.
MAXIFS · DMIN
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong