Formulas > =DMAX()

How to Use DMAX() in Google Sheets

Description

Returns the maximum value selected from a database table-like array or range using a SQL-like query.

How To Actually Use DMAX() in Sheets

DMAX(database, field, criteria)

Try DMAX yourself

Use the DMAX function to find the maximum value in the range B2:B10 where the criteria in A2:A10 is 'Sales'. The result should be displayed in cell D1.

Hints (3)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Learn more about the DMAX() formula:

Generate a DMAX() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses DMAX(). 2 free AI generations, no signup. Members get unlimited use.

Generate a DMAX() formula