lesson 5 microsoft excel part 2 by nguyễn thanh tùng email: [email protected] web: isvnu.vn

30
Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: [email protected] Web: http://khoaquocte.vn/Article/Index/ 405

Upload: roxanne-cobb

Post on 25-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Lesson 5 MICROSOFT EXCEL PART 2

by Nguyễn Thanh TùngEmail: [email protected]

Web: http://khoaquocte.vn/Article/Index/405

Page 2: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATING

Row height Column width Format cell

Number Alignment Font Border Fill (Patterns)

2

Page 3: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATTING: FORMAT CELL -> NUMBER

3

Page 4: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATTING: FORMAT CELL -> ALIGNMENT

4

Page 5: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATTING: FORMAT CELL -> FONT

5

Page 6: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATTING: FORMAT CELL -> BORDER

6

Page 7: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

FORMATTING: FORMAT CELL -> PATTERNS

7

Page 8: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

Left(text,num) : return the first or number of character LEFT

E.g.: C5="tung"; Left(c5,2)="tu" Right(text,num): return the first or number of

character RIGHTE.g.: C5="tung"; right(c5,2)=”ng"

mid(text,start_num,num): return a number of characters from a text string, starting at the position specified

E.g.: C5="tungday"; mid(c5,2,4)=”ungd"

8

Page 9: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

len(text): return the number of characters in a text string

E.g.: C5="tung"; len(c5)=4 trim(text): removes all spaces from text except for

single space between wordsE.g.: C5=” tung"; trim(c5)=”tung"

upper(text): Converts text to uppercaseE.g.: C5="tung"; upper(c5)=”TUNG"

lower(text): Converts text to uppercaseE.g.: C5="TUNG"; lower(c5)=”tung"

9

Page 10: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

exact(text1,text2): return true if they are the same. False otherwise

find(findtext,within_text,start_num): locate one text string within a second text string, and return the number of starting position of the first text; start_num specify the character to start the search. By default, it is assumed to be 1.

E.g.: C5=” tungdihoc"; D5=”di”;find(d5,c5)=4

10

Page 11: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

AND(logical1,logical2,……..):AND(true,true)=true;

AND(true,false)=false;AND(false,true)=false;AND(false,false)=false;

e.g. A2=50,A3=104A4=AND(1<a2,a2<100)=true

OR(logical1,logical2,……..):OR(true,true)=true; OR(true,false)=true;OR(false,true)=true;

OR(false,false)=false; NOT(logical):

NOT(true)=false; NOT(false)=true;

11

Page 12: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

Round(number,num_digits)=round a number to a number of digits

e.g. Round(23.44444,2)=23.44 Abs(number)=return the absolute value of a number Int(number)= round down to an integer

e.g. Int(23.74)=23 Sqrt(number)= return a positive square root

e.g. sqrt(9)=3

12

Page 13: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• Counta(range)=count the number of cells that are not empty

13

Page 14: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• Countblank(range)=count empty cells in a

specified range

14

Page 15: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS• Countif(range,criteria)=count

number of cells within a range that meet a single criteria.

• For example, you can count all the cells match a string or count all cells that contain a number larger or smaller than a specified number.

15

Page 16: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• Sumif(range,criteria,[sum_range])=sum the values in a range that meet criteria specified

16

Page 17: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• If(logical_test,value_if_true,[value_if_false]): the if function returns one value if a condition is true, and other if that condition is false)

17

Page 18: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

If function remark

• Remark: up to 64 if functions can be nested as value_true or value_false.

18

Page 19: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• The LOOKUP function returns a value either from a one-row or one column range

• LOOKUP function has two syntax forms: the vector form and the array form.

19

Page 20: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

Vlookup(lookup_value,table_array,col_index,[range_lookup]) to search the first column of a range, and return a value from a column_index and in the same row.

20

Page 21: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Vlookup Example

21

Page 22: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

Hlookup(lookup_value,table_array,row_index,range_lookup): search for a value in the top row of a table, and returns a value in the same column from row_index). Use hlookup when the comparison value are located in the top row of table value.

22

Page 23: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

HLookup

23

Page 24: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• Rank(number,array,order): return the rank of a number in a list of numbers.

24

Page 25: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: FUNCTIONS

• Index(array,row_num,row_column) returns the value of an element in the array specified by row and column index.

25

Page 26: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

BASIC FORMULAS: DATE/TIME

NOW() DATE(year,month,day) TIME(hour,minute,second) DAY(serial_number) MONTH(serial_number) YEAR(serial_number) HOUR(serial_number) MINUTE(serial_number) SECOND(serial_number)

26

Page 27: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Save as Web page

File->Save As->Web page

27

Page 28: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Open Web page

28

Page 29: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Save as PDF

File->Save As->PDF

29

Page 30: Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Email: tungnt@isvnu.vn Web: isvnu.vn

Open Pdf

30