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

Slides - Functions

Uploaded by

shreyav28
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Slides - Functions

Uploaded by

shreyav28
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 51

4.

1 NOTES
Error Types

Havish M Consulting ©
. NOTES

ERROR TYPES

Havish M Consulting ©
ERROR TYPES NOTES

Havish M Consulting ©
4.2 NOTES
COUNT
COUNT Unique
COUNTA
Count Text
COUNTIF / COUNTIFS
SUMIF / SUMIFS
IFERROR
Count Errors
Count Instance

Havish M Consulting ©
. NOTES

COUNT / COUNTA,
COUNT UNIQUE,
COUNT TEXT

Havish M Consulting ©
COUNT / COUNTA, COUNT UNIQUE, COUNT TEXT NOTES

Havish M Consulting ©
COUNT / COUNTA, COUNT UNIQUE, COUNT TEXT NOTES
COUNT
. Only numbers

COUNTA
Numbers and Text
Note: Need to do -1 to
remove Heading

UNIQUE
Unique: appears Once
Distinct: different to others

Havish M Consulting ©
COUNT / COUNTA, COUNT UNIQUE, COUNT TEXT NOTES

Havish M Consulting ©
. NOTES

COUNTIF

Havish M Consulting ©
COUNTIF NOTES

Havish M Consulting ©
COUNTIF NOTES

Havish M Consulting ©
COUNTIF NOTES
Can choose Columns
. as well as Range

* is wildcard

Havish M Consulting ©
. NOTES

COUNTIFS

Havish M Consulting ©
COUNTIFS NOTES

Havish M Consulting ©
COUNTIFS NOTES

Havish M Consulting ©
COUNTIFS NOTES

Havish M Consulting ©
. NOTES

SUMIF

Havish M Consulting ©
SUMIF NOTES

Havish M Consulting ©
SUMIF NOTES

Havish M Consulting ©
SUMIF NOTES

Havish M Consulting ©
. NOTES

SUMIFS

Havish M Consulting ©
SUMIFS NOTES
Similarly have
. AVERAGEIFS,
MAXIFS, MINIFS

Havish M Consulting ©
SUMIFS NOTES
NOTE:

. sum_range is the
First argument

Havish M Consulting ©
SUMIFS NOTES

Havish M Consulting ©
. NOTES

IFERROR

Havish M Consulting ©
IFERROR NOTES

Havish M Consulting ©
IFERROR NOTES
Result could be:

. 0
Blank with “”
Text
Number

Havish M Consulting ©
IFERROR NOTES

Havish M Consulting ©
IFERROR - Python NOTES
CY = 16.0
LY = 0

try:
result = CY / LY - 1
except ZeroDivisionError:
result = "No value for LY"

print(result)

Havish M Consulting ©
. NOTES

Count Errors

Havish M Consulting ©
Count Errors NOTES

Havish M Consulting ©
Count Errors NOTES

Havish M Consulting ©
Count Errors NOTES
https://exceljet.net/glossary/d

. ouble-unary

1
2

Havish M Consulting ©
. NOTES

Count Instance

Havish M Consulting ©
Count Instance NOTES

Havish M Consulting ©
Count Instance NOTES

.
$B$6: Fixed B6: Free

B7

B8

Havish M Consulting ©
4.3 NOTES
SUBTOTAL
AGGREGATE
LARGE / SMALL

Havish M Consulting ©
. NOTES

SUBTOTAL

Havish M Consulting ©
SUBTOTAL NOTES

Havish M Consulting ©
SUBTOTAL NOTES
Function_num Function Description

.
1

3
101

102

103
AVERAGE

COUNT

COUNTA
Returns the average of numbers.

Counts cells that contain numeric values.

Counts non-empty cells.


4 104 MAX Returns the largest value.
5 105 MIN Returns the smallest value.

6 106 PRODUCT Calculates the product of cells.

Returns the standard deviation of a


7 107 STDEV
population based on a sample of numbers.

Returns the standard deviation based on an


8 108 STDEVP
entire population of numbers.

9 109 SUM Adds up the numbers.

Estimates the variance of a population based


10 110 VAR
on a sample of numbers.

Estimates the variance of a population based


11 111 VARP
on an entire population of numbers.

Havish M Consulting ©
SUBTOTAL NOTES
SUM / COUNT / AVERAGE

. Shows ALL rows including filtered and


hidden

Havish M Consulting ©
SUBTOTAL NOTES
SUM will add ALL rows

. SUBTOTAL only adds visible rows

Havish M Consulting ©
SUBTOTAL NOTES
9:

. Includes hidden rows

109:
Excludes hidden rows

Havish M Consulting ©
. NOTES

AGGREGATE

Havish M Consulting ©
AGGREGATE NOTES

Havish M Consulting ©
AGGREGATE NOTES
Function number Function Ref2

.
Option Behavior
1 AVERAGE
2 COUNT Ignore SUBTOTAL and
0
3 COUNTA AGGREGATE functions
4 MAX
Ignore hidden rows, SUBTOTAL
5 MIN 1
6 PRODUCT and AGGREGATE functions
7 STDEV.S
Ignore error values, SUBTOTAL
8 STDEV.P 2
9 SUM
and AGGREGATE functions
10 VAR.S Ignore hidden rows, error values,
11 VAR.P
3 SUBTOTAL and AGGREGATE
12 MEDIAN
functions
13 MODE.SNGL
14 LARGE k 4 Ignore nothing
15 SMALL k
16 PERCENTILE.INC k 5 Ignore hidden rows
17 QUARTILE.INC quart 6 Ignore error values
18 PERCENTILE.EXC k
19 QUARTILE.EXC quart Ignore hidden rows and error
7
values

Havish M Consulting ©
AGGREGATE NOTES
SUM / COUNT / AVERAGE

. Even with SUBTOTAL, even a single


errors means that answer is also an
error

AGGREGATE ignores errors

Havish M Consulting ©
. NOTES

LARGE / SMALL

Havish M Consulting ©
LARGE NOTES

Havish M Consulting ©
LARGE NOTES

Havish M Consulting ©
LARGE NOTES

=LARGE(C3:C102,SEQUENCE(3))

=LARGE(C3:C102, (ROW(INDIRECT(1 & ":" & 3))))

Havish M Consulting ©

You might also like