0% found this document useful (0 votes)
88 views

Database Functions - DSUM DAVERAGE DCOUNT PDF

This document discusses Excel database functions DAVERAGE, DCOUNT, and DSUM. DAVERAGE calculates the average of values in a column that meet criteria. DCOUNT counts values in a column that meet criteria. DSUM calculates the total of values in a column that meet criteria. Examples are provided to demonstrate the syntax and use of each function to analyze data and extract information based on criteria.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views

Database Functions - DSUM DAVERAGE DCOUNT PDF

This document discusses Excel database functions DAVERAGE, DCOUNT, and DSUM. DAVERAGE calculates the average of values in a column that meet criteria. DCOUNT counts values in a column that meet criteria. DSUM calculates the total of values in a column that meet criteria. Examples are provided to demonstrate the syntax and use of each function to analyze data and extract information based on criteria.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EXCEL FUNCTIONS

LEARNING OBJECTIVES

 Database Functions - DAVERAGE / DCOUNT / DSUM

T his chapter discusses the most time saving and complex functions provided by Excel. Take your time to
digest the concepts as these will prove very handy.

DATABASE FUNCTIONS – DAVERAGE / DCOUNT / DSUM

DAVERAGE

WHAT DOES IT DO?

 This function examines a list of information and produces and average.

SYNTAX

 =DAVERAGE(DatabaseRange,FieldName,CriteriaRange)
 DatabaseRange is the entire list of information you need to examine
 The FieldName is the name or cell of the values to be averaged, such as "Unit Cost”
 The CriteriaRange is made up of two types of information
o The first set of information is the name, or names, of the Fields to be used as the basis for selection
o The second set of information is the actual record, or records, which are to be selected, such as ZeroK
as a brand name

EXAMPLE

B C D E F G H I
Box Boxes In Value Of
3 Product Wattage Life Hours Brand Unit Cost Quantity Stock Stock
4 Broom 200 3000 ZeroK $4.5 4 3 $54.0
5 Tube LIght 100 2000 ZeroK $2.0 15 2 $60.0
6 Broom 80 1000 ZeroK $0.2 40 3 $24.0
7 Krit 100 unknown ZeroK $1.3 10 4 $50.0
8 Krit 200 3000 ZeroK $2.5 15 0 $0.0
9 Broom 200 3000 Britts $5.0 3 2 $30.0
10 Tube LIght 100 2000 Britts $1.8 20 5 $180.0
11 Broom 100 2000 ZeroK $0.8 10 5 $40.0
12 Broom 40 1000 ZeroK $0.1 20 5 $10.0
13
14 Brand These two cells are the Criteria range.
15 Type the brand name : Britts
16
17 The average cost of Britts is : 3.4 =DCOUNT(B3:I19,F3,E14:E15)
DCOUNT

WHAT DOES IT DO?

 This function examines a list of information and counts the values in a specified column
 It can only count values, the text items and blank cells are ignored

SYNTAX

 =DCOUNT(DatabaseRange,FieldName,CriteriaRange)
 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 counted, such as “Life Hours Rating”
 The CriteriaRange is made up of two types of information
o The first set of information is the name, or names, of the Fields to be used as the basis for selecting
the records, such as the category Brand
o The second set of information is the actual record, or records, which are to be selected, such as ZeroK
as a brand name

EXAMPLE

B C D E F G H I
Box Boxes In Value Of
3 Product Wattage Life Hours Brand Unit Cost Quantity Stock Stock
4 Broom 200 3000 ZeroK $4.5 4 3 $54.0
5 Tube LIght 100 2000 ZeroK $2.0 15 2 $60.0
6 Broom 80 1000 ZeroK $0.2 40 3 $24.0
7 Krit 100 unknown ZeroK $1.3 10 4 $50.0
8 Krit 200 3000 ZeroK $2.5 15 0 $0.0
9 Broom 200 3000 Britts $5.0 3 2 $30.0
10 Tube LIght 100 2000 Britts $1.8 20 5 $180.0
11 Broom 100 2000 ZeroK $0.8 10 5 $40.0
12 Broom 40 1000 ZeroK $0.1 20 5 $10.0
13
14 Brand These two cells are the Criteria range.
15 Type the brand name : ZeroK
16
17 COUNT VALUE of ZeroK is : 6.0 =DCOUNT(B3:I19,D3,E14:E15)
DSUM

WHAT DOES IT DO?

 This function examines a list of information and produces the total

SYNTAX

 =DSUM(DatabaseRange,FieldName,CriteriaRange)
 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 totaled, such as “Box quantity“
 The CriteriaRange is made up of two types of information
o 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
o The second set of information is the actual record, or records, which are to be selected, such as ZeroK
as a brand name

EXAMPLE

B C D E F G H I
Box Boxes In Value Of
3 Product Wattage Life Hours Brand Unit CostQuantity Stock Stock
4 Broom 200 3000 ZeroK $4.5 4 3 $54.0
5 Tube LIght 100 2000 ZeroK $2.0 15 2 $60.0
6 Broom 80 1000 ZeroK $0.2 40 3 $24.0
7 Krit 100 unknown ZeroK $1.3 10 4 $50.0
8 Krit 200 3000 ZeroK $2.5 15 0 $0.0
9 Broom 200 3000 Britts $5.0 3 2 $30.0
10 Tube LIght 100 2000 Britts $1.8 20 5 $180.0
11 Broom 100 2000 ZeroK $0.8 10 5 $40.0
12 Broom 40 1000 ZeroK $0.1 20 5 $10.0
13
14 Brand These two cells are the Criteria range.
15 Type the brand name : Britts
16
17 Number of boxed in stock of Britts is : 7.0 =DCOUNT(B3:I19,H3,E14:E15)

You might also like