You are on page 1of 30

# mfchen@ntnu.edu.

tw
VOIP: 7714- 8628 ( )
2010 8
http://140.122.66.90/excel

- ppt excel

Excel

Excel
Excel
Excel

## Excel (Aug. 201

(Function)?
:

f x
f(x)
: x, y y x
y x
y=f(x)
:

(subroutine)
(function)
Excel (Aug. 201

Excel
Excel 12 ,

1 . FLOOR, INT, ROUND, SUM,
2 . DATE, TIME, TODAY
3 . AVERAGE, COUNT,
4 . AND, OR,
5 . LEFT, MID, RIGHT, TRIM, UPPER, LOWER,
6 . COLUMN, ROW, LOOKUP,
7 . CELL, INFO, TYPE
8 . PMT, RATE,
9 . DCOUNT, DMAX, DMIN,
1 0 . DEC2HEX
1 1 . CALL, SQL. REQUEST,
1 2 . CUBEKPIMEMBER, CUBEMEMBER,
Excel (Aug. 201

Excel
( ) 0 N

() (,)
:
TODAY()

TRIM(A1)
LEFT(A1, 2)
SUMIF(C2:C9, >60, D2:D9)
Concatenate(A1, B1, C1, D1, E1, F1, )

,
SUMIF(C2:C9, >60)
SUMIF(C2:C9, >60, D2:D9)
(Argument Parameter)
Excel (Aug. 201

Excel ( )-

1. [ ]

5. ( )
( )
( )

2.

3.

4. [
]
Excel

(Aug. 201

6. [ ]

Excel ( )-

=
( ) =

2. = ,

1.
Excel (Aug. 201

Excel

( ) : Today(), Now(),

## Rand(), PI(), NA(), True(), False()

( 1, 2, )

:
A ( A1, A2, B( B1))

(+) (-) (*) (/)

## : A2 + B2, A2 B2, A2 * B2, A2 / C2

(%),
(^), : E3 ^ 3 E3 (E3 * E3 * E3)

(=), (>), (<), (>=), (<=),

(<>)

&

: D3 & E3

A1 &

## Excel (Aug. 201

10

Excel
Excel

Excel

\$ Excel
Column ( ) Row(
),
A1 A 1
A\$1 A 1
\$A\$1 A 1

(Demo: )
Excel (Aug. 201

11

Excel
,

Excel
, , Excel

:
(G):
: 12.34
: Mike Jordon
: 2010/8/17,2010-8-17
: 23.5%

12

(34 )
INT( )
RAND() 0 ~ 1
RANDBETWEEN( , )
ROUND( , ) ,

## ROUND(123.456, 2) 123.46, Round(123.456, 0) 123

ROUNDDOWN , ROUNDUP
SUM( 1, 2, ) , :

A3:A12
SUMIF( , , )

## SUMIF(A2:A9, >60), SUMIF(A2:A9, >60, B2:B9)

TRUNC( , ), Rounddown

Rounddown

(15 )
(3 )
Excel (Aug. 201

13

,
ROUND()

SUMIF()

## Excel (Aug. 201

14

21
DATEDIF( , , )
: (Y), (M), (D)
YEAR(), MONTH(), DAY()( ), HOUR(0~23),

MINUTE(), SECOND()

YEAR(2010/05/30), MONTH(1-Nov-99),

TODAY()-
NOW()-
WEEKDAY( , )
: 1 (1 , 7 ), 2(1 , 7 ), 3(0 , 6
)
Excel (Aug. 201

15

: ( )
:
:

: 2015-8-1

..
Excel (Aug. 201

16

(34 ) (31 ) (14 )
AVERAGE( 1, 2, )-

AVERAGEA() -
COUNT( 1, 2, )- , ,
, ,
COUNTA ( 1, 2, )-
COUNTIF( , )-
MAX ( 1, 2, )- , MIN ( 1, 2, )-
MEDIAN ( 1, 2, )- ,
MODE ( 1, 2, )- ,
RANK ( , , )-
- (1), (0 )
RANK(A1, A1:A9, 1)

17

, ?

: ( )

## Excel (Aug. 201

18

CELL( , )-
COUNTBLANK( )-
INFO( )-
IS.ISBLANK( )- , ISNUMBER( )- , ISTEXT( )
TYPE( )- : (1), (2), (4), (8),
(16), (64)

AND( 1, 2, )- True False
OR ( 1, 2, )- True
False
NOT( )- True False
IF(

19

( )

DD, DD-MM-YY

( )
: 1 2

B 2(
) : LEN() LENB()
LEN( ) 3
LENB( ) 6

( )
( )

## Excel (Aug. 201

20

( )

35
ASC( )- , BIG5( )-
CONCATENATE( 1, 2, )- &
DOLLAR( , )-
DOLLAR(123.456, 2) \$123.46 ( )
EXACT( 1, 2)-
FIND( , , )- ,
1 FINDB()
LEFT( , )- LEFTB()
LEN ( )- ( ), LENB()
MID( , , )- MIDB()
REPLACE( , , , )- , /
, REPLACEB()
REPT( , )-
RIGHT ( , )- RIGHTB()
SEARCH()- FIND , SEARCHB()
TEXT( , )-
VALUE( )-
TRIM( )-
LOWER( )- , UPPER( )-

## Excel (Aug. 201

21

,
,

: YYYYMMDD
10 ?

.
Excel (Aug. 201

22

(8 )
COLUMN( )-
ROW( )-

(8 )
HLOOKUP( , , , ) - ( )

True False
#N/A
: HLookUp( , A2:F9, 2) 2 A2:F9
VLOOKUP( , , , ) - ( )
URL, , , Email
Excel (Aug. 201

23

## Excel (Aug. 201

24

VLookUp

A2~A7

\$E\$2:\$G\$10
Excel (Aug. 201

25

2292 1453

:
=IF(ISNA(VLOOKUP(C2270,\$M\$4:\$M\$1459,1,FALSE)) =
TRUE, "X", VLOOKUP(C2270,\$M\$4:\$M\$1459,1,FALSE))
ISNA() #N/A ( )
FALSE
: #N/A ( ),
X, ( )

:
Excel (Aug. 201

26

:

[ ]
[ ] [ ]

Excel (Aug. 201

27

/Excel ,

## AND(..), OR(), NOT()

IF( )
SUMIF(), SUMIFS()
COUNTIF(), COUNTIFS()
AVERAGEIF(), AVERAGEIFS()
Excel (Aug. 201

28

: sheet1 A1 sheet1!
A1

Office Access ( )
VBA -
VBA
Visual Basic Script
Excel (Aug. 201

29

Office ?
Office ?
Office

:
Excel , , /
Excel 2007 , (
),
Q&A

30