This action might not be possible to undo. Are you sure you want to continue?

Prof. Chandra

SUM function

Adds all the numbers in a range of cells.

Syntax

SUM(number1,number2, ...)

Number1, number2, ... are 1 to 30 arguments for which you want the total value or sum.

Remarks

± Numbers, logical values, and text representations of numbers that you type directly into the list of arguments are counted. See the first and second examples following. ± If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored. See the third example following. ± Arguments that are error values or text that cannot be translated into numbers

2

SUM function

1 2 3 4 5 A Data

10 7 5 22

B Data

2 14 7 9

=SUM(A2:A5) = 44

3

MAX function

Returns the largest value in a set of values.

Syntax

MAX(number1,number2,...) Number1, number2, ... are 1 to 30 numbers for which you want to find the maximum value.

Remarks

± You can specify arguments that are numbers, empty cells, logical values, or text representations of numbers. Arguments that are error values or text that cannot be translated into numbers cause errors. ± If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored. If logical values and text must not be ignored, use MAXA instead. ± If the arguments contain no numbers, MAX returns 0 (zero).

4

MAX function

1 2 3 4 5 A Data

10 7 5 22

B Data

2 14 7 9

=MAX(A2:A5) = 22

5

MIN function

Returns the smallest number in a set of values. Syntax

MIN(number1,number2,...) Number1, number2, ... are 1 to 30 numbers for which you want to find the minimum value. Remarks

± You can specify arguments that are numbers, empty cells, logical values, or text representations of numbers. Arguments that are error values or text that cannot be translated into numbers cause errors. ± If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored. If logical values and text should not be ignored, use MINA instead. ± If the arguments contain no numbers, MIN returns 0.

6

MIN function

1 2 3 4 5 A Data

10 7 5 22

B Data

2 14 7 9

=MIN(A2:B5) =2

7

LARGE Function

Returns the k-th largest value in a data set You can use this function to select a value based on its relative standing Syntax

± LARGE(array,k) ± Array is the array or range of data for which you want to determine the k-th largest value ± K is the position (from the largest) in the array or cell range of data to return

If the array is empty, a #NUM! error results

LARGE Function

1 2 3 4 5 =LARGE(A2:A5, 1) = 22 A Data

10 7 5 22

B Data

2 14 7 9

LARGE Function

1 2 3 4 5 =LARGE(A2:B5, 4) = 9 A Data

10 7 5 22

B Data

2 14 7 9

LARGE Function

1 2 3 4 5 =LARGE(B2:B5, 2) = 9 A Data

10 7 5 22

B Data

2 14 7 9

LARGE Function

1 2 3 4 5 A Data

10 7 5 22

B Data

2 14 7 9

=LARGE(A2:B5, 2) = 14

SMALL Function

Returns the n-th smallest value in a data set You can use this function to select a value based on its relative standing Syntax

± SMALL(array,n) ± Array is the array or range of data for which you want to determine the k-th smallest value ± N is the position (from the smallest) in the array or cell range of data to return

If the array is empty, a #NUM! error results

SMALL Function

1 2 3 4 5 A Data

10 -2 -5 22

B Data

0 14 0 9

=SMALL(A2:A5, 2) = -2

SMALL Function

1 2 3 4 5 A Data

10 -2 -5 22

B Data

0 14 0 9

=SMALL(A2:B5, 4) = -2

**The ROUND function
**

Rounds a number to a specified number of digits. Syntax

ROUND(number,num_digits)

Number is the number you want to round. Num_digits specifies the number of digits to which you want to round number.

Remarks

± If num_digits is greater than 0 (zero), then number is rounded to the specified number of decimal places. ± If num_digits is 0, then number is rounded to the nearest integer. ± If num_digits is less than 0, then number is rounded to the left of the decimal point.

16

ROUND Function

(Examples)

**=ROUND(2.15,1) = 2.2 =ROUND(22.5678,2) = 22.57 =ROUND(314.123,-1) = 310 =ROUND(A1,0) = 21 =ROUND(SUM(A1:A3),3) = 164.546
**

± =SUM(A1:A3) = 164.5457

** =ROUND(AVERAGE(A1:A3)*100,-2) = 5500
**

± =AVERAGE(A1:A3)*100 = 5484.857

17

COUNT Function

Syntax

=COUNT(value1, [value2],...)

The COUNT function counts the number of cells that contain numbers, and counts numbers within the list of arguments. Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers.

COUNT: Function

=COUNT(A2:A8) = 3 =COUNT(A5:A8) = 2

Range Names

**Create Range Names
**

± ± ± ± ± Highlight A1:D1; press Ctr l+ Shift + Down arrow Next, in the Defined Names group on the Formulas tab, click Create From Selection, and then choose Top Row We have now named A2:A7 as Basket; B2:B7 as Fruit; C2:C7 as Number; and D2:D7 as Price Click the dropdown arrow in the Name box at the left end of the formula bar to see these names. And by choosing a specific name you will see the range being highlighted. In the Defined Names group on the Formulas tab,click Name Manager. In Name Manger window, highlight the range name and click Delete button at the top. This will delete the chosen range names.

**Delete range names
**

± ± ±

"COUNTIF" Example

=COUNTIF(Fruit, Apples ) = 3 =COUNTIF(Fruit,"Oranges") = 2

"SUMIF" Function

Counts the number of cells within a range that meet the given criteria Syntax

± SUMIF(range, criteria, sum_range) ± Range is the range of cells from which you want to count cells ± Criteria is the criteria in the form of a number, expression, cell reference, or text that defines which cells will be counted. For example, it can be expressed as: 32, "32", ">32", "apples", B4 ± Sum-range is cells to add if criteria matches

"SUMIF" Function

You can use wildcard characters

± A question mark matches any single character ± an asterisk matches any sequence of characters ± If you want to find an actual question mark or asterisk, type a tilde (~) before the character

** To have a formula return one of two values based
**

on a condition, such as a sales bonus based on a specified sales amount, use the IF worksheet function or a series of nested IF statements

SUMIF" Example

=SUMIF(Fruit, "Apples", Number) = 21 =SUMIF(Fruit,"Oranges , Number) = 11 =SUMIF(Basket, <5 , Price) = 27

"SUMIF" Example

1 2 3 4 5 A Property Value

100,000 200,000 300,000 400,000

B Commission

7,000 14,000 21,000 28,000

=SUMIF(A2:A5, ">160000") = 900,000

"SUMIF" Example

1 2 3 4 5 A Property Value

100,000 200,000 300,000 400,000

B Commission

7,000 14,000 21,000 28,000

=SUMIF(A2:A5, ">160000", B2:B5) = 53,000

**Boolean Logic Functions
**

Condition1 Condition2 AND OR NOT(Condition1)

True True False False

True False True False

True False False False

True True True False

**False False True True
**

27

**LARGE Functionset. You can use this function to select a Returns the k-th largest value in a data
**

Syntax LARGE(range,k) Range is the cell range of data for which you want to determine the k-th largest value k is the position (from the largest) in the cell range of data to return

value based on its relative standing. For example, you can use LARGE to find the third-place score.

Remarks If range is empty, LARGE returns the #NUM! error value If k 0 or if k is greater than the number of data points, LARGE returns the #NUM! error value If n is the number of data points in a range, then LARGE(range,1) returns the largest value, and LARGE(range,n) returns the smallest value.

LARGE(range,1)=MAX(range) LARGE(range,n)=MIN(range)

28

3rd largest number in the numbers in columns A and B

=LARGE(range,k)

29

3rd largest number in the numbers in columns A and B

=LARGE(range,k) =LARGE(A2:B6

30

3rd largest number in the numbers in columns A and B

=LARGE(range,k) =LARGE(A2:B6,3)

List the numbers in descending order: 7 6 5 5 4 4 4 3 3 2

=5

31

7th largest number in the numbers in columns A and B

=LARGE(range,k)

32

7th largest number in the numbers in columns A and B

=LARGE(range,k) =LARGE(A2:B6

33

7th largest number in the numbers in columns A and B

=LARGE(range,k) =LARGE(A2:B6,7)

List the numbers in descending order: 7 6 5 5 4 4 4 3 3 2

=4

34

SMALL Function

Returns the k-th smallest value in a data set. Use this function to return values with a particular relative standing in a data set. Syntax SMALL(range,k) Range is a cell range of numerical data for which you want to determine the k-th smallest value k is the position (from the smallest) in the cell range of data to return Remarks If range is empty, SMALL returns the #NUM! error value If k 0 or if k exceeds the number of data points, SMALL returns the #NUM! error value If n is the number of data points in array, SMALL(range,1) equals the smallest value, and SMALL(range,n) equals the largest value

SMALL(range,1)=MIN(range) SMALL(range,n)=MAX(range)

35

4th smallest number in first column

=SMALL(range,k)

36

4th smallest number in first column

=SMALL(range,k) =SMALL(A2:A10

37

4th smallest number in first column

=SMALL(range,k) =SMALL(A2:A10,4)

List the numbers in ascending order: 2 3 3 4 4 4 5 6 7

=4

38

2nd smallest number in second column

=SMALL(range,k)

39

2nd smallest number in second column

=SMALL(range,k) =SMALL(B2:B10

40

2nd smallest number in second column

=SMALL(range,k) =SMALL(B2:B10,2)

List the numbers in ascending order: 1 3 4 7 8 8 12 23 54

=3

41

COUNTIF Function

Counts the number of cells within a range that meet the given criteria. Syntax COUNTIF(range,criteria) Remarks

Range is the range of cells from which you want to count cells Criteria is the criteria in the form of a number, expression, or text that defines which cells will be counted. For example, criteria can be expressed as:

32 "32 ">32 (so the comparison operator and constant must be within the quotation marks) "apples <>32 > &B3 (cell references and functions are connected to the comparison operator with &) <= &AVERAGE(B10:E20)

42

Number of cells with the word apples in column A

=COUNTIF(range,criteria)

43

Number of cells with the word apples in column A

=COUNTIF(range,criteria) =COUNTIF(A2:A5

44

Number of cells with the word apples in column A

=COUNTIF(range,criteria) =COUNTIF(A2:A5, apples )

=2

45

Number of cells with a value greater than 55 in column B

=COUNTIF(range,criteria)

46

Number of cells with a value greater than 55 in column B

=COUNTIF(range,criteria) =COUNTIF(B2:B5

47

Number of cells with a value greater than 55 in column B

=COUNTIF(range,criteria) =COUNTIF(B2:B5, >55 )

=2

48

Count the number of sales made by a Sales Rep named Jones

=COUNTIF(range,criteria)

49

Count the number of sales made by a Sales Rep named Jones

=COUNTIF(range,criteria) =COUNTIF(A2:A13

50

Count the number of sales made by a Sales Rep named Jones

=COUNTIF(range,criteria) =COUNTIF(A2:A13, Jones )

51

Count the number of sales made by a Sales Rep named Jones

=COUNTIF(range,criteria) =COUNTIF(A2:A13, Jones ) or =COUNTIF(A2:A13, =Jones )

=4

52

Count the number of sales made by a Sales Rep other than Jones

=COUNTIF(range,criteria)

53

Count the number of sales made by a Sales Rep other than Jones

=COUNTIF(range,criteria) =COUNTIF(A2:A13

54

Count the number of sales made by a Sales Rep other than Jones

=COUNTIF(range,criteria) =COUNTIF(A2:A13, <>Jones )

=8

55

Count the number of sales with an amount higher than the amount of Jones sale in Jul

=COUNTIF(range,criteria)

56

Count the number of sales with an amount higher than the amount of Jones sale in Jul

=COUNTIF(range,criteria) =COUNTIF(C2:C13

57

Count the number of sales with an amount higher than the amount of Jones sale in Jul

=COUNTIF(range,criteria) =COUNTIF(C2:C13, > &C13)

=2

58

Count the number of sales with an amount greater than the average amount

=COUNTIF(range,criteria)

59

Count the number of sales with an amount greater than the average amount

=COUNTIF(range,criteria) =COUNTIF(C2:C13

60

Count the number of sales with an amount greater than the average amount

=COUNTIF(range,criteria) =COUNTIF(C2:C13, > &AVERAGE(C2:C13))

61

Count the number of sales with an amount greater than the average amount

Formula Auditing

=COUNTIF(range,criteria) =COUNTIF(C2:C13, > &AVERAGE(C2:C13)) =COUNTIF(C2:C13, > &510.416666666667) =COUNTIF(C2:C13, >510.416666666667 )

=5

62

SUMIF Function

Adds the cells specified by a given criteria Syntax SUMIF(range,criteria,sum_range) Remarks Range is the range of cells you want evaluated (for criteria) Criteria is the criteria in the form of a number, expression, or text that defines which cells will be added Sum_range are the actual cells to sum

The cells in sum_range are summed only if their corresponding cells in range match the criteria. If sum_range is omitted, the cells in range are summed.

63

Sum of the commissions for property values over $160,000

=SUMIF(range,criteria,sum_range)

64

Sum of the commissions for property values over $160,000

=SUMIF(range,criteria,sum_range) =SUMIF(A2:A5

65

Sum of the commissions for property values over $160,000

=SUMIF(range,criteria,sum_range) =SUMIF(A2:A5, >160000

66

Sum of the commissions for property values over $160,000

=SUMIF(range,criteria,sum_range) =SUMIF(A2:A5, >160000 ,B2:B5)

=63000

67

Sum the amount of sales in the month of March

=SUMIF(range,criteria,sum_range)

68

Sum the amount of sales in the month of March

=SUMIF(range,criteria,sum_range) =SUMIF(B2:B13

69

Sum the amount of sales in the month of March

=SUMIF(range,criteria,sum_range) =SUMIF(B2:B13, Mar

70

Sum the amount of sales in the month of March

=SUMIF(range,criteria,sum_range) =SUMIF(B2:B13, Mar ,C2:C13)

=750

71

Sum the amount of sales that are higher than the average amount of sales

=SUMIF(range,criteria,sum_range)

72

Sum the amount of sales that are higher than the average amount of sales

=SUMIF(range,criteria,sum_range) =SUMIF(C2:C13

73

Sum the amount of sales that are higher than the average amount of sales

=SUMIF(range,criteria,sum_range) =SUMIF(C2:C13, > &AVERAGE(C2:C13)

74

Sum the amount of sales that are higher than the average amount of sales

=SUMIF(range,criteria,sum_range) =SUMIF(C2:C13, > &AVERAGE(C2:C13),C2:C13) Or =SUMIF(C2:C13, > &AVERAGE(C2:C13))

=4450

75

AVERAGEIF Function

Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria. Syntax AVERAGEIF(range,criteria,average_range) Remarks

Range is the range of cells you want evaluated (for criteria) Criteria is the criteria in the form of a number, expression, cell

reference, or text that defines which cells are averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4.

Average_range is the actual set of cells to average. If omitted, range

is used.

76

AVERAGEIF Function

Remarks If a cell in the average_range is a logical value or an empty cell, AVERAGEIF ignores it. If the entire range is a blank or text value, AVERAGEIF returns the #DIV/0! error value. If no cells in the range meet the criteria, AVERAGEIF returns the #DIV/0! error value. AVERAGEIF works basically the same way as SUMIF

So I will just go through one example here But play with this function on your own!

77

Calculate the average sales for salespeople in the month of March

=AVERAGEIF(range,criteria,average_range)

78

Calculate the average sales for salespeople in the month of March

=AVERAGEIF(range,criteria,average_range) =AVERAGEIF(B2:B13

79

Calculate the average sales for salespeople in the month of March

=AVERAGEIF(range,criteria,average_range) =AVERAGEIF(B2:B13, Mar

80

Calculate the average sales for salespeople in the month of March

=AVERAGEIF(range,criteria,average_range) =AVERAGEIF(B2:B13, Mar ,C2:C13)

=375

81

Conditional Formatting

Conditional Formatting

Enables you to apply cell formatting selectively and automatically, based on the contents of a cell e.g., you can set it up so that all cells (in a range) with negative values have a light-yellow background color

Excel will look at the value of each cell in the range, evaluate the conditional formatting rules for the cell, and if the value is negative the background is shaded. If it is not, no formatting is applied.

**Great for highlighting unusual or important data
**

82

Conditional Formatting

To apply conditional formatting to a cell or range Select the cell or cell range Home tab > Styles group > Conditional Formatting > Excel Displays the following:

83

Conditional Formatting

84

Conditional Formatting

85

Conditional Formatting

(Example 1)

Say that we want to set the following conditional

**formats for cells in the range B2:B11
**

All cells greater than 8

Blue fill color, yellow font color

**All cells less than 3
**

Yellow fill color, blue font color

**All cells between (and including) 4 and 6
**

Green fill color, red font color

86

Conditional Formatting

(Example 1: All cells greater than 8 - blue fill, yellow font) Select the cell or cell range Home tab > Styles group > Conditional Formatting > Highlight Cells Rules > Greater Than

87

Conditional Formatting

(Example 1: All cells greater than 8 - blue fill, yellow font)

88

Conditional Formatting

(Example 1: All cells greater than 8 - blue fill, yellow font)

89

Conditional Formatting

(Example 1: All cells greater than 8 - blue fill, yellow font)

90

Conditional Formatting

(Example 1: All cells less than 3 - yellow fill, blue font) Select the cell or cell range Home tab > Styles group > Conditional Formatting > Highlight Cells Rules > Less Than

91

Conditional Formatting

(Example 1: All cells less than 3 - yellow fill, blue font)

92

Conditional Formatting

(Example 1: All cells less than 3 - yellow fill, blue font)

93

Conditional Formatting

(Example 1: All cells less than 3 - yellow fill, blue font)

94

Conditional Formatting

(Example 1: Cells between 4 and 6 - green fill, red font) Select the cell or cell range Home tab > Styles group > Conditional Formatting > Highlight Cells Rules > Between

95

Conditional Formatting

(Example 1: Cells between 4 and 6 - green fill, red font)

96

Conditional Formatting

(Example 1: Cells between 4 and 6 - green fill, red font)

97

Conditional Formatting

(Example 1: Cells between 4 and 6 - green fill, red font)

98

Conditional Formatting

(Example 1: Cells between 4 and 6 - green fill, red font)

**Let s review the rules that we have created
**

Home menu > Styles group > Conditional Formatting > Manage Rules

From here you can add, edit, or delete rules

99

Conditional Formatting

(More Options)

Other ways to do the same thing

Home tab > Styles group > Conditional Formatting > Highlight Cells Rules > More Rules

100

- Phpstorm manual
- Free Honda Service
- Free Honda Service
- Acct 202 Exam 1 Note Card
- Final Cosmos
- rest of questions
- what i missed
- astro 107
- 6s
- 6s2
- 21
- 32
- 1
- 6
- 3
- ACCT-202-04-3423_syllabus_S2012(4) (3)
- Access Lab Spa
- A 3
- A 3
- A 1
- 9780538469685_PPT_ch02
- A1 print
- 9780538469685_PPT_ch01
- 306 Syllabus at UL (1)
- MGT 301 - Fall 2011 - Crawford Syllabus(1)

Sign up to vote on this title

UsefulNot useful- Sample Fnal Project
- Css
- Array Example
- Maple_8_Learning_Guide.pdf
- Object Oriented Programming (OOP) - CS304 Power Point Slides Lecture 32
- Postgres Data Model.pdf
- Classroom 10
- VBA2 Conditional Statement
- Aragon Joel Plataforma Gestion Red Sensores Calidad Ambiental Rio Napo Anexos
- Structure
- SAS Arrays
- Python Stuffs
- Awk Session7
- Intro to Perl Programming
- NetLinx.LanguageReferenceGuide
- NetLinx.LanguageReferenceGuide.pdf
- Mutation Testing
- Array
- Ns Array Class
- PDMS Commands
- PGA1sl
- JavaScript Built
- Johny Blackstore Invoice Email
- lab5
- 3
- Visual Designs
- 1-7-sum-4p
- 04_InformedSearch.pdf
- Basic Design M3SP3
- Assignment A1(2)
- HW_1

Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

We've moved you to where you read on your other device.

Get the full title to continue

Get the full title to continue reading from where you left off, or restart the preview.

scribd