19
Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University [email protected] Lab of COMP 102 Feb. 22-23, 2012

Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University [email protected] Lab of COMP 102 Feb

Embed Size (px)

Citation preview

Page 1: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

Create and Edit A Excel

Document(II)Shenghua ZHONG

Department of ComputingThe Hong Kong Polytechnic University

[email protected]

Lab of COMP 102 Feb. 22-23, 2012

Page 2: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

2

Cell Operation of Excel Merge and Unmerge Cell Fill contents in Cell Excel Grouping

Outline

Page 3: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

3

Cell Operation of Excel Merge and Unmerge Cell Fill contents in Cell Excel Grouping

Outline

Page 4: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

4

Cell Function Can be used to retrieve information about a cell Can include contents, formatting, size, etc

Syntax for the Cell function Cell( type, range ) type is the type of information that you retrieve for type can be one of the following values

Cell Function of Excel

Page 5: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

5

Value Explanation“address” Address of the cell. If the cell refers to a range, it is the first cell in the range.

"col" Column number of the cell."color" Returns 1 if the color is a negative value; Otherwise it returns 0.

"contents" Contents of the upper-left cell."filename" Filename of the file that contains reference."format" Number format of the cell.

"parentheses" Returns 1 if the cell is formatted with parentheses; Otherwise, it returns 0.

"prefix" Label prefix for the cell.* Returns a single quote (') if the cell is left-aligned.* Returns a double quote (") if the cell is right-aligned.* Returns a caret (^) if the cell is center-aligned.* Returns a back slash (\) if the cell is fill-aligned.* Returns an empty text value for all others.

"protect" Returns 1 if the cell is locked. Returns 0 if the cell is not locked.

"row" Row number of the cell."type" Returns "b" if the cell is empty.

Returns "l" if the cell contains a text constant.Returns "v" for all others.

"width" Column width of the cell, rounded to the nearest integer.

Cell Function of Excel (II)

Page 6: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

6

Functions return based on spreadsheet above =Cell("col", A1) would return 1 =Cell("address", A2) would return $A$2 =Cell(“contents", A2) would return 0.055

Some Examples of Cell Function

Page 7: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

7

Cell Operation of Excel Merge and Unmerge Cell Fill contents in Cell Excel Grouping

Outline

Page 8: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

8

Definition of merge cells A single cell that is created by combining two or more selected cells

Cell reference of merge cell The upper-left cell in the original selected range

What is merge cells Merge two or more adjacent cells into one cell and display the contents of one cell

in the merged cell Different types of merge

Utilize system merge

Merge cells more than one contains data, Excel keeps the data in the upper-left or upper-right cell (depending on your current view direction) and deletes all remaining data.

Utilize combination merge & For example, =A2&" "&B2 Combines the contents, separated by a space

Merge and Unmerge Cell

Page 9: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

9

Utilize system merge

Examples of Merge

Page 10: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

10

Utilize combination merge

Examples of Merge

Page 11: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

11

Notes of system unmerge Can unmerge (or split) a cell that has been merged Can split the contents of an unmerged cell and

distribute the divided contents across other cells Cannot split an empty, unmerged cell

Example

Unmerge in Excel

Page 12: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

12

Copy the contents

Examples of Split Contents (I)

Page 13: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

13

Split contents

Examples of Split Contents (II)

Page 14: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

14

Cell Operation of Excel Merge and Unmerge Cell Fill contents in Cell Excel Grouping

Outline

Page 15: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

15

Study knowledge by internet http://www.youtube.com/watch?v=glqgLyfnm0U&f

eature=related Find information in Excel

Icon of Excel help

Auto Fill Contents in Cell

Page 16: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

16

Fill Series

Page 17: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

17

Cell Operation of Excel Merge and Unmerge Cell Fill contents in Cell Excel Grouping

Outline

Page 18: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

18

Excel Grouping A useful Excel feature gives you control over how

the information is displayed Steps

Select any cell with information in it Click the Subtotal command. The information in is

automatically selected and the Subtotal dialog box appears.

Grouping Cells Using the Subtotal Command

Page 19: Create and Edit A Excel Document(II) Shenghua ZHONG Department of Computing The Hong Kong Polytechnic University zsh696@gmail.com Lab of COMP 102 Feb

19

Examples of Grouping Cells Using the Subtotal Command