[ResponsiveRect]
To calculate largest Value Of Stock of a particular Brand of bulb.
Criteria Range Is E23:E24
DATABASE FORMULA – DMAX Function
What Does It Do ?
This function examines a list of information and produces the largest value from a specified column.
Syntax
=DMAX(DatabaseRange,FieldName,CriteriaRange)
Description For DMAX Function
- The DatabaseRange is the entire list of information you need to examine, including the field names at the top of the columns.
- The FieldName is the name or cell, of the values to pick the Max from, such as “Value Of Stock” or I3.
- The CriteriaRange is made up of two types of information.
The first set of information is the name, or names, of the Fields(s) to be used as the basis for selecting the records, such as the category Brand or Wattage.
The second set of information is the actual record, or records, which are to be selected, such as Horizon as a brand name, or 100 as the wattage. .
Formatting
No special formatting is needed.
[ResponsiveRect]
Examples 1
The largest Value Of Stock of a particular Product of a particular Brand.
Criteria Range Is E49:E50
The largest value is : =DMAX(B3:I19,I3,E49:F50)
This is the same calculation but using the name “Value Of Stock” instead of the cell address.
=DMAX(B3:I19,”Value Of Stock”,E49:F50)
Examples 2
The largest Value Of Stock of a Bulb equal to a particular Wattage.
Criteria Range Is E60:E61
The largest Value Of Stock is : =DMAX(B3:I19,”Value Of Stock”,E60:F61)
Examples 3
The largest Value Of Stock of a Bulb less than a particular Wattage.
Criteria Range Is E67:E68
The largest Value Of Stock is : =DMAX(B3:I19,”Value Of Stock”,E67:F68)
Advanced Excel Formulas Index