To calculate the total Value Of Stock of a particular Brand of bulb.
Criteria Range Is E23:E24
DATABASE FORMULA – DSUM Function
What Does It Do ?
This function examines a list of information and produces the total.
Description For DSUM 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 be totalled, 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.
No special formatting is needed.
The total Value Of Stock of a particular Product of a particular Brand.
Criteria Range Is E49:F50
This is the same calculation but using the name “Value Of Stock” instead of the cell address.
=DSUM(B3:I19,”Value Of Stock”,E49:F50)
The total Value Of Stock of a Bulb equal to a particular Wattage.
Criteria range is E60:F61
Total Value Of Stock is : =DSUM(B3:I19,”Value Of Stock”,E60:F61)
The total Value Of Stock of a Bulb Less than particular Wattage.
Criteria range is E67:F68
Total Value Of Stock is : =DSUM(B3:I19,”Value Of Stock”,E67:F68)
Advanced Excel Formulas Index