excel functions and features

6
What causes the following errors to occur? 1 ### too many characters to display in column width 2 #NAME? no named range or cell 3 #REF! cell (or range) reference no longer exists 4 #DIV/0! dividing by zero 5 #VALUE! using text in an expression What will Excel display if you enter 11/06 into a cell? eg. 11/06 to see the result, remove the ' at the beginning of the cell entry

Upload: shovan-chatterjee

Post on 09-Jul-2016

8 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Excel Functions and Features

What causes the following errors to occur?

1 ### too many characters to display in column width2 #NAME? no named range or cell3 #REF! cell (or range) reference no longer exists4 #DIV/0! dividing by zero5 #VALUE! using text in an expression

What will Excel display if you enter 11/06 into a cell?

eg. 11/06 to see the result, remove the ' at the beginning of the cell entry

Page 2: Excel Functions and Features

Function Form Example Description / Use

Name Name( Arguments)

NOW =NOW() 5/18/2016 22:11 Returns the current date and time formatted as a date and time.

TODAY =TODAY() 5/18/2016 Returns the current date formatted as a date.

YEAR =YEAR(serial_number) 2016 Returns the year of a date, an integer between 1900 and 9999.

DAY =DAY(serial_number) 18 Returns the day of the month, a number from 1 to 31.

MONTH =MONTH(serial_number) 5 Returns the month of the year, a number from 1 to 12.

DATE =DATE(year,month,day) 5/18/2016 Returns a date formatted as a date

Crtl + ; 3/27/2006

Crtl + Shift + ; 12:17 PM

ALWAYS begin a formula with an equal sign = followed by the name of function then parentheses (). Inside the parentheses go cell or cell ranges,operators, or logical tests.

Keyboard shortcut to insert today's date as a static entry into a worksheet:

Keyboard shortcut to insert current time as a static entry into a worksheet:

Page 3: Excel Functions and Features

Function Form Example Description / Use

Name Name( Arguments)

COUNTIF COUNTIF(CellRange,Logical Test)

5

5

IF IF(Logical Test, true value, false value)

=IF(C17>D17, "Pass", "Fail") Pass

VLOOKUP VLOOKUP(lookup_value, table, column_num)

=VLOOKUP(C17,$D$16:$E$19, 2) B

4 0 A7 5 B7 10 C8 15 D

ALWAYS begin a formula with an equal sign = followed by the name of function then parentheses (). Inside the parentheses go cell or cell ranges,operators, or logical tests.

Counts the cells where the logical test is true from within a range of cells.

=COUNTIF(C16:D19,">5")IF Logical Test is ">5" then it counts all cells with a cell value greater than five.

=COUNTIF(C16:D19,">"&D6)

Returns one of two values depending on whether or not the test returns true or false.

Looks up the value for cell C15 in the table D16:E19 finding an equivalent value from column 2.The Match value has been omitted which means the function will look for a close rather than an exact match.

A B C D E

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

Page 4: Excel Functions and Features

12 Function Form Example Description / Use

3Name Name( Arguments)

4 SUM SUM(number1, number2, ...)

5 =SUM(A1:A11) 55

67 AVERAGE AVERAGE(number1, number2, …)

8 =AVERAGE(A1:A11) 5.5

910 MAX MAX(number1, number2, …)

Label =MAX(A1:A15) 14 Returns the greatest value from within a range of cells. *1213 MIN MIN(number1, number2, …)14 =MIN(A1:A15) 1 Returns the least value from within a range of cells. *

COUNT COUNT(number1, number2, …)

=COUNT(A1:A15) 13

COUNTA COUNTA(number1, number2, …)

=COUNTA(A1:A15) 14

INT INT(number) 3.64159 Rounds the number down to the nearest integer.=INT(D24) 3

ROUND ROUND(number,num_digits) 3.14159 Rounds a number to a specified number of digits.=ROUND(D27,3) 3.142

RAND Rand() 0.9049069814

ALWAYS begin a formula with an equal sign = followed by the name of function then parentheses (). Inside the parentheses go cell or cell ranges,operators, or logical tests.

Returns the sum of all the values in the cell range A1 through A11. *

Returns the average for all the values in the cell range A1 through A11. *

Counts the number of cells with values (numbers) in the range A1 through A15. *

Counts the number of cells with values and labels in the range A1 through A15. *

Returns an evenly distributed random number greater than or equal to 0 and less than 1. A new random number is returned every time the worksheet is calculated.

* Can include ranges and cells separated by commas.

A B C D E

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

Page 5: Excel Functions and Features

Student ID First and Middle Last Driver Master Number6912501 John David Roberts ROBER240474003

Function Form Example Description / Use

Name Name( Arguments)

LEFT LEFT(Cell, Number of characters)

=LEFT(C2, 1) J

RIGHT RIGHT(Cell, Number of characters)

=RIGHT(B2,2) 01

LEN =LEN(Cell) Returns the length of the text in C2. Spaces count as characters.=LEN(C2) 10

MID MID(Cell, start_num, num_chars)

=MID(E2,6,6) 240474

FIND FIND(find_text, within text, [start_num])

=FIND("D",C2) 6

CONCATENATE =CONCATENATE(first_cell, second_cell) Joins (concatenates) the values of two or more cells.

=CONCATENATE(D7," ",D2) J Roberts

=C2&" "&D2 John David Roberts

ALWAYS begin a formula with an equal sign = followed by the name of function then parentheses (). Inside the parentheses go cell or cell ranges,operators, or logical tests.

Returns a specified number of characters starting at the leftmost character in the text string value of cell C2.

Returns a specified number of characters starting at the rightmost character in the text string value of cell B2.

Returns the number of characters you have specified from E2, starting at the position you specified. The first character has start_num 1.

Returns the starting position of one text string within another text string. FIND is case-sensitive. Wildcards are not allowed. If the text is not found, an error is returned. Start-num is 1 if omitted.

If D7 = J and D2 = Roberts then the function would return "J Roberts" as a concatenated text string.This form of concatenation would return "John Daivd Roberts" with a space between the first name and last name.

A B C D E1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

Page 6: Excel Functions and Features

UPPER =UPPER(Cell) Converts the text string in C2 to all uppercase letters.=UPPER(C2) JOHN DAVID

LOWER =LOWER(Cell) Converts the text string in C2 to all lower case letters.=LOWER(C2) john david

TRIM =TRIM(Cell) John David=TRIM(D31) John David

PROPER =PROPER(cell) john dAVID

=PROPER(D34) John David

Removes all spaces in a text string except for a single space between words.

Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lowercase letters.

A B C D E

25

26

27

28

29

30

31

32

33

34

35