You are on page 1of 34

EXCEL2003

1SUMPRODUCT
1 B3C6 C3E6
=Sumproduct(B3:C6,D3:E6)

1
2ABS A1B1 12090 A1 B1
C1 =ABS(A1-B1)
3IF 2 C3 D3 E3
E3 =IF(C3>D3,
,

2
4Ceiling 3 C3
=CEILING(B3,C3)=FLOOR(B3,C3)

3
5GCD 4 B3D3 3
E3 =GCD(B3,C3,D3)

4
6INT 5
E3 =INT(D3/C3)

5
7LCM 6 B3D3 3
E3 =LCM(B3,C3,D3)

6
8LN =LN(B3)
9LOG =LOG10(B3)
10MOD 7 C3 B3 D4
=IF(MOD(B3,C3)=0,"","")

7
11PI 3.14159265358979 PI
14 8 C4
=PI()*(B3^2)*4) D4 = (B3^3)*
4* PI())/3

8
12POWER 9 D3
=POWER(B3,C3)

9
13PRODUCT
2005 100000 1.5% 12 10
E4 =PRODUCT(B4,C4,D4)

10
14RADIANS C3
=RADIANS (B3)
15RAND 0 1
RAND
=RAND()[F9]
50 20 11
B4
=1+RAND()*49

11
16ROUND 1212.3456
D3 =ROUND(B3,C3)

17ROUNDDOWN
5 10 2
13 C3
=IF(B3<=10,5+ROUNDDOWN(B3,0)*2,20+ROUNDDOWN((B3-10)*2,0)*2)

13
18ROUNDUP
30 0.5 14
1 C3 =B3-A3
2 60 24
D3 =C3*60*243 30
30 30 E3
=ROUNDUP(D3/30,0)4 G3 =E3*F3

14
19SUBTOTAL [
][]
Function_num

Function_num

Function_num

Average

Min

Sum

Count

Product

10

Var

Counta

Stdev

11

warp

max

Stdevp

151 B9
E9
=SUBTOTAL(5,C3:C7)2 B10
E10 =SUBTOTAL(4,D3

7)

15

20
600 8%
1612
C15 =C14-SUM(C3:C9)3
G3 =SUMPRODUCT(C3:F3,$C$13
C3F3 $C$13

F$13), SUMPRODUCT

F$13

=10*3050.5+10*1560.99+5*4489.9+20*21194 8%

H3 =ROUNDUP(G3*8%,0)5
=+ J3 =SUM(H3:I3)

16
21 17
5%
1 H13
=SUMPRODUCT(C3:G3,$C$11

G$11)2

1 1 ROUNDUP I3
=ROUNDUP(H3*5%,0)3 K3 =I3+J3
4 100 L3 =INT(K3/$L$2)5 50
M3 =INT(MOD(K3,$L$2)/$M$2)
MOD MOD(K3,$L$2) 100 INT
50 6 10 N3
=INT(MOD(K3,$M$2)/$N$2)7 5 O3
=INT(MOD(K3,$N$2)/$O$2)8 1 P3
=INT(MOD(K3,$O$2)/$P$2)

17
22DATE 18
E3 =DATE(B3,C3,D3)

18
23DATEIF DATEIF
19 D3
=DATEDIF(B3,C3,"y")

19
24DAYS360
12 30
20 DAYS360
1 D3 =DAYS360(B3,C3)2
G3 =D3*E3*F

20

25WEEKDAY WEEKDAY
serial_number,return_type serial_number
return_type

1 7

1 7

0 6

21 B3
=WEEKDAY(B3,2)

21
26WEEKNUM 2006 6 9
WEEKNUM 22
B3 =WEEKNUM(B3,C3)

22
27WORKDAY
2006
3 1 80
WORKDAY
23 C7
=WORKDAY(C2,C3,C4:C6)

23
28 1 1 5
7 6 10 2005 6 9 100

50 24 1
F5 =IF(DATEDIF($D5,TODAY(),"y")<1,"

",IF(DATE(C$2,MONTH($D5),DAY($D5))>TODAY(),"

",IF(DATEDIF($D5,TODAY(),"y")<6,7,10)))2

G5

=IF(DATEDIF($D5,DATE($C$2,6,9),"y")>=1,DATEDIF($D5,DATE($C$2,6,9),"y")*100,50)

24
29

6 4 2
25 1

E4

=IF(TIME(HOUR(C4),MINUTE(C4),SECOND(C4))>TIME(HOUR(D4),MINUTE(D4),SECOND(
D4)),DATE(YEAR(D4),MONTH(D4),DAY(D4))-DATE(YEAR(C4),MONTH(C4),DAY(C4))-1,DA
TE(YEAR(D4),MONTH(D4),DAY(D4))-DATE(YEAR(C4),MONTH(C4),DAY(C4)))
IF
TIME(HOUR(C4),MINUTE(C4),SECOND(C4))>TIME(HOUR(D4),MINUTE(D4),SECOND(D4)

DATE(YEAR(D4),MONTH(D4),DAY(D4))-DATE(YEAR(C4),MONTH(C4),DAY(C4))-1
1
DATE(YEAR(D4),MONTH(D4),DAY(D4))-DATE(YEAR(C4),MONTH(C4),DAY(C4))
2) F4
=IF(TIME(HOUR(C4),MINUTE(C4),SECOND(C4))>TIME(HOUR(D4),MINUTE(D4),SECOND(
D4)),HOUR(1-TIME(HOUR(C4),MINUTE(C4),SECOND(C4))+TIME(HOUR(D4),MINUTE(D4),SE
COND(D4))),HOUR(TIME(HOUR(D4),MINUTE(D4),SECOND(D4))-TIME(HOUR(C4),MINUTE(
C4),SECOND(C4)))) IF

TIME(HOUR(C4),MINUTE(C4),SECOND(C4))>TIME(HOUR(D4),MINUTE(D4),SECOND(D4))
TIME(HOUR(C4),MINUTE(C4),SECOND(C4)
TIME(HOUR(D4),MINUTE(D4),SECOND(D4)

HOUR(TIME(HOUR(D4),MINUTE(D4),SECOND(D4))-TIME(HOUR(C4),MINUTE(C4),SECON
D(C4)))3) G4

=IF(TIME(HOUR(C4),MINUTE(C4),SECOND(C4))>TIME(HOUR(D4),MINUTE(D4),SECOND(

D4)),MINUTE(1-TIME(HOUR(C4),MINUTE(C4),SECOND(C4))+TIME(HOUR(D4),MINUTE(D4),
SECOND(D4))),MINUTE(TIME(HOUR(D4),MINUTE(D4),SECOND(D4))-TIME(HOUR(C4),MIN
UTE(C4),SECOND(C4))))
HOUR MINUTE

MINUTE(1-TIME(HOUR(C4),MINUTE(C4),SECOND(C4))+TIME(HOUR(D4),MINUTE(D4),SE
COND(D4)))

MINUTE(TIME(HOUR(D4),MINUTE(D4),SECOND(D4))-TIME(HOUR(C4),MINUTE(C4),SEC
OND(C4)))4)
H4 =E4*24+F4+IF(G4=0,0,IF(G4<=30,0.5,1))E4*24
IF
30 0.5 1
5 J4 =I4*H4

25

30AND AND TRUE


FALSE
26 183435495064 65
1 1834
E7 =IF(AND(C7>=18,C7<=34),D7,"") AND
C7 1834 IF
D7 2 3549
F7 =IF(AND(C7>=35,C7<=49),D7,"")3
65 H7
=IF(AND(C7>=50,C7<=64),D7,"")

26
31OR TRUE
TRUE 27
1
D3 1975 1975 E3
{=OR(D3=C3:C8} D2 C3:C8
OR TRUE
D3
[Ctrl]+[Shift]+[Enter]3)
1975 E3 {=SUM(IF(D3=C3:C8,1,0) }
IF D3 C3:C8
1 0 SUM
1975 1975

27
32ADDRESS 28

28
33AREAS 29

29
34CHOOSE

CHOOSE 1) 30 F3
=SUM(C3:E3)/32 CHOOSE
G3
=CHOOSE(IF(F3>=90,1,IF(F3>=80,2,IF(F3>=70,3,IF(F3>=60,4,5)))),"","","
","","") IF
CHOOSE 5
90 80 90 70 80 60 70
60

30
35COLUMN 31

31
36COLUMNS 32

32
37HLOOKUP
HLOOKUP
1 33 2
D7 =HLOOKUP(D3,$B$3

G$4,2)3

D8 D9 D10 =HLOOKUP(E3,$B$3
=HLOOKUP(F3,$B$3

G$4,2)=HLOOKUP(G3,$B$3

G$4,2)

G$4,2)3

E7 =C7*D7

33
38HYPERLINK 34

34
39INDEX 35 1
4 C13
=INDEX(C3:H9,C12,C11)2J2:J9
{=INDEX(B2:H9,,6)}3
36 A D

C11

=INDEX(B2:G7,MATCH(C9,B2:B7,0),MATCH(C10,B2:G2,0))

35

36

40INDIRECT 37

37
60PROPER

61 C3 =PROPER(B3)

6161REPLACE
8
REPLACE 1
62 2 C3
=REPLACE(B3,1,4,"05328") REPLACE 0108 B3
4 8
05328 0

62
62REPT REPT
63

63
63RIGHT
1 RIGHT
64
C3 =RIGHT(B3,2)2

12 65
D3 =IF(RIGHT(C3,1)="1","","") RIGHT
IF 1

1 IF

64

65

64SEARCH 66

66
65T 67

67
66TEXT 68

68
67TRIM 69

69
68UPPER 70

70
69

71 2 E3
=IF(LEN(C3)=4,LEFT(C3,2),LEFT(C3,1)) 3
4 4 IF 4
4 LEFT 1 3
E3 =IF(LEN(C3)=2,RIGHT(C3,1),RIGHT(C3,2))
IF 2 2 RIGHT 1
2 4 G3
=IF(D3="",CONCATENATE(E3,""),CONCATENATE(E3,""))
IF
CONCATENATE 5
H3 =IF(B3<=3,""&TEXT(B3,"300"),"
"&TEXT(B3,"200")) A
B TEXT B
& IF

6 K2[][]
[][][][]
[][][]
7 G3
=REPT($K$2,INT(I3/12)) REPT K2
INT(I3/12) I 12

71
70 INT MOD

1
72 2 D4
=IF(LEN(C4)=4,LEFT(C4,1),0), LEN C4
IF 4 LEFT
03: E4
=IF(D4=0,IF(LEN(C4)=3,LEFT(C4,1),0),LEFT(C4-D4*1000,1)), IF
D4 0
0 C4 3 LEFT
0 C4-D4*10004
F4 =LEFT(C4-D4*1000-E4*100,1)
988 3 5
G4 =LEFT(C4-D4*1000-E4*100-F4*10,1)

72

71CELL
73

73
72COUNTBLANK 74

74
73ISBLANK 1
75 2 E3 =IF(ISBLANK(D3),"
","")

75
74ISERR 1
76 2 E3
=IF(ISERR(C3*D3),"",C3*D3)

76
75DAVERAGE
1 59

77 2 C12 =DAVERAGE(B2:E8,C10,C10:C11)
3 C13 =DAVERAGE(B2:E8,4,E2:E8)

77
76DCOUNT
1 78
C12 =DCOUNT(B2:E8,B10,B10:B11)
2 C13 =DCOUNT(B2:E8,2,B10:B11)
70

78
77DGET 79
C12 =DGET(B2:E8,1,D10

11)

89 C13 =DGET(B2:E8,1,B10:C11)
80

79
78DMAX
80 C12 C13 =DMAX(B2:E8,B10,B10
=DMAX(B2:E8,D10,B10

11)

11)DMIN DMAX

80
79DSUM
81 C12 C13 =DSUM(B1:F6,1,C8:C9)
=DSUM(B1:F6,5,C8

9)

81
80 EXCEL
82 1 DAVERAGE
2 E15
=DAVERAGE(B2:F12,5,G15:G16)3 G16
DAVERAGE
Excel
E19 =DAVERAGE(B2:F12,5,C21

22)

20 4 10 DCOUNT
F26
=DCOUNT(B2:F12,5,C28

29)5 DGET

E33
=DGET(B2:E12,4,C35

36)6 DMAX

E39
=DMAX(B2:E12,4,C41:C42)

82
81 COUNT COUNTA1 1 1
83 2 COUNT
B13 =COUNT(B3:B11)
3 COUNTA
B14 =COUNTA(B3:B11)

83
82LARGE K

1 84 2
G2 G3 =LARGE(B3:B12,1)
=SMALL(B3:B12,1)3 G6 G6
=LARGE(C3:C12,1)=LARGE(C3:C12,10)4
G10 =INDEX(A3:A12,MATCH(LARGE(D3

12,1),D3

12,0),1),

LARGE MATCH
D3D12 INDEX A3A12 1

84
83 MAX MAXA 1 MAX MAXA

1 85 2
J5 =INDEX(C3:C11,MATCH(MAX(E3:E11),E3:E11,0),1),
3 J7
=INDEX(C3:C11,MATCH(MAXA(F3:F11),F3:F11,0),1)

85
84MODE
86 C14
=MODE(C4:C13)

86
85PERCENTRANK 87

87
86RANK 89
87TRIMMEAN
88 C15
=TRIMMEAN(C3:C14,0.05) 5%

88
88
1
Sheet1 89
2 J4 =AVERAGE(E4:I4)3
K4 =SUM(E4:I4)4 L4

=RANK(J4,$J$4

J$21)5 D23

=COUNT(B4:B21)6 D24
=COUNTA(E4:E21)7 D25
=COUNTBLANK(E4:E21)8 D26 D27
=COUNTIF(D4

21,"")=COUNTIF(D4

21,"")9

D29 D30 =SUMIF(D4


=SUMIF(D4

21,"",K4:K21)

21,"",K4:K21)10 D31 D32

=MAXA(J4:J21)=MIN(J4:J21)11 2 D33
=SMALL(J4:J21,2)12G29
G33{=FREQUENCY(J4:J21,F24:G27)} FREQUENCY
13 H29
=G29/$D$24

89

89CUMPRINC 30
400000 5%
1 90 2
B6
=CUMPRINC(D3/12,C3*12,B3,49,60,0)D3/12C3*12
49600
2 C6
=CUMIPMT(D3/12,C3*12,B3,49,60,0)
3 D6
=SUM(B6:C6)4 E6
=PMT(D3/12,C3*12,B3,0,0)*12PMT(D3/12,C3*12,B3,0,0)
PMT D3/12C3*12
12

90
90DOLLARDE 91

91

91DOLLARFR 92

92
92FV 1
50000 20000 8% 10
2000 10
93 10 D5
=FV(C3,D3,E3,B3,0) 10
D6 =FV(C3/12,D3*12,F3, B3,0)C3/12
D3*12
02 6% 5 2000

94 B6 =FV(B3,B4,0,B5,0)3
5000 6 6%
95
B6 =FV(B3,B4,0,B5,0)4
5000 600 0.75%

96 B7 =FV(B3,B4,B5,B6,0)

94[/td]
93

95
96
93FVSCHEDULE 150000
1 97
2
D15 =FVSCHEDULE(C2,F3:F14)
150000 1

97
94IPMT
200000 10 4.5%
1 98
2 D5
=IPMT(D3/12,1,C3*12,B3)3 D6
=IPMT(D3/12,120,C3*12,B3)

98
95NPER 99

99
96PMT 1 200000
6 8%
100
E4 =PMT(C7,C5,C3,0,1) F4
=PMT(C7,C5,C3) E8
=PMT(C7/12,C5*12,C3,0,1)C7/12C5*12
6*12=72 1
F8 =PMT(C7/12,C5*12,C3)2
100000
10%
101 E4
=PMT(C7,C5,0,C3,1) F4
=PMT(C7,C5,0,C3) E8
=PMT(C7/12,C5*12,0,C3,1) PMT
C7/12C5*12
01000001
F8 =PMT(C7/12,C5*12,0,C3)3
230000 4 6000

0.75%
102 B7
=PMT(B6,B4*12,-230000,0,1)+B54 15
0.65% 30000
103 B6
=PMT(B4,B5*12,-B3,0,0)

100

101

102

103

97PPMT 500000
5% 10
1 104 2
D6D7D8 D9
=PPMT(E3,1,D3,C3,0,1)=PPMT(E3,1,D3,C3,0)=PPMT(E3,10,D3,C3,0,1)

=PPMT(E3,10,D3,C3,0,0) 4
PPMT per type
3
D10D11D12 D13
=PPMT(E3/12,1,D3*12,C3,0,1)=PPMT(E3/12,1,D3*12,C3,0)
=PPMT(E3/12,120,D3*12,C3,0,1)=PPMT(E3/12,120,D3*12,C3,0) 4
E3/12D3*12120
04
E6E7E8 E9 =IPMT(E3,1,D3,C3,0,1)
=IPMT(E3,1,D3,C3,0)=IPMT(E3,10,D3,C3,0,1)=IPMT(E3,10,D3,C3,0)
5
E10E11E12 E13
=IPMT(E3/12,1,D3*12,C3,0,1)=IPMT(E3/12,1,D3*12,C3,0)
=IPMT(E3/12,120,D3*12,C3,0,1)=IPMT(E3/12,120,D3*12,C3,0)6
F6 =SUM(D6:E6)

104
98PV 1
10000 5% 10
105 E3
=PV(C3/12,D3*12,-B3,0,0)2
25 1000

15000 4.5%
106 E3 =PV(C3/12,D3*12,-B3,0,0)
179910.32
150000

105

106
99RATE 107

107