excel tips (more)

Download Excel Tips (More)

Post on 15-Nov-2014

595 views

Category:

Documents

4 download

Embed Size (px)

TRANSCRIPT

Excel-1 2547 12,500 9,500 1,200 65,450 24,600 113,250 123

( ) Function sum( ) bahttext( ) bahtonly( ) ="("&BAHTTEXT(C$12)&")"

=BAHTTEXT(C12)

()

: MS Excel HR

:-

500 200 300 210 45 59 1314 #MACRO?

: MS Excel HR

:-

Excel-2 2547 12,500 9,500 1,200 65,450 24,600 113,250 1 12,500 22,000 23,200 23,200 88,650 113,250 =F10+C11

2 3

=MAX(C6:C11) =LARGE(C6:C11,2) =LARGE(C6:C11,3) =SMALL(C6:C11,2) =MIN(C6:C11) =AVERAGE(C6:C11)

=>

=LARGE(C6:C11,1)

=>

=SMALL(C6:C11,1)

Function sum( ) max( ) min( ) average( ) large( ) small( ) () ()

: MS Excel HR

:-

2 12,500 22,000 23,200 23,200 88,650 113,250 =SUM($C$6:C11)

=C6 =F6+C7 =F7+C8 =F8+C9 =F9+C10 =F10+C11

=SUM($C$6:C6) =SUM($C$6:C7) =SUM($C$6:C8) =SUM($C$6:C9) =SUM($C$6:C10) =SUM($C$6:C11)

: MS Excel HR

:-

1. (Relative References) 3.5" / 95 20 50 360 190 100 500 2,880 3,670 =B6*E6 =B7*E7 =B8*E8 =B9*E9 =SUM(F6:F9) 2 5 10 8

() ="("&BAHTTEXT(F10)&")"

2.

(Absolute References) 3.5" / 95 20 50 360 190 100 500 2,880 3,670 =$B$20*$E$20 =$B$21*$E$21 =$B$22*$E$22 =$B$23*$E$23 =SUM($F$20:$F$23)

2 5 10 8

() ="("&BAHTTEXT($F$24)&")"

3.

(Switching between Relative and Absolute References) 3.5" / 95 20 50 360 5% 10% 90 86 19 18 48 45 342 324 20% 76 16 40 288

=$E38-($E38*F$34) =$E38-($E38*G$34) =$E38-($E38*H$34)

Note :-

: MS Excel HR

:-

2 5 10 8 =SUM(F6:F9) 3.5" / 95 20 50 360 190 100 500 2,880 3,670

(Array) 1 2 5 10 8 3.5"

2 / 95 20 50 360 3,670 190 100 500 2,880

=$B$20*$E$20 =$B$21*$E$21 =$B$22*$E$22 =$B$23*$E$23 =SUM($F$20:$F$23)

{=SUM((L17:L20)*(O17:O20))} 1

: MS Excel HR

:-

=L5*O5 =L6*O6 =L7*O7 =L8*O8 =SUM(P5:P8)

{=L17:L20*O17:O20} {=L17:L20*O17:O20} {=L17:L20*O17:O20} {=L17:L20*O17:O20} {=SUM((L17:L20)*(O17:O20))} 2

: MS Excel HR

:-

6 8 12 15 25 10 76

Function sum( ) rept( )

mmmmmm mmmmmmmm mmmmmmmmmmmm mmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmm=REPT("M",C9)

TRUNC ROUND CEILING INT ROUNDUP ROUNDDOWN 124.74 124.74 124.74 125 124 124.74 124.74 =TRUNC(, =ROUND(,) =CEILING( , =INT() =ROUNDUP(, =ROUNDDOWN(,

:-

1. TRUNC TRUNC 3

)

,)

,) ,)

- 1 2 3 4 5 6 7 - .. .

() =IF(LEFT(D5,6)="",RIGHT(D5,LEN(D5) .. =LEFT(B9,FIND(" ",B9,1)-1)

Function left( ) right( ) len( ) find( ) if( )

21 10

="",RIGHT(D5,LEN(D5)-6),IF(LEFT(D5,4)="..",RIGHT(D5,LEN(D5)-4),RIGHT(D5,LEN(D5)-3))) =RIGHT(B7,LEN(B7)-FIND(" ",B7,1))

11 19 8

.3 - "." "." 12 50 600 15992 15994 16007 16010 16015 16051 16052 16053 16080 16081 .3/1 .3/1 .3/1 .3/1 .3/1 .3/1 .3/1 .3/1 .3/1 .3/1 . . .3/1 .3/1

1 2 3 4 5 6 7 8 9 10

if( ) - Left( ) - Right( ) - Len( )

if ( " " , " " , " " ) =IF(LEFT(C3,7)="",". "&RIGHT(C3,LEN(C3)-7),". "&RIGHT(C3,LEN(C3)-8)) C3 "" ". " C3 C3 7 "" ". " C3 C3 8 8 8

: HR & Productivity Development Director - Tel. 01-423-9828, 02-552-7632 E-mail : samroeng@e-hrit.com

: MS Excel HR

:-

--1 2 3 4 5 6 7 8 9 10 11 12 6/18/2009 6 5 18 =TODAY()

=MONTH(F3) =VLOOKUP(MONTH(F3),A3

=WEEKDAY(F3) =""&VLOOKUP(WEEKDA =DAY(F3)

Function today( )

JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV

SUN MON TUE WED THU FRI SAT

=MONTH(F3) =VLOOKUP(MONTH(F3),A3:C14,3)

=WEEKDAY(F3) =""&VLOOKUP(WEEKDAY(F3),A3:B9,2)

(Work Duration) 1 1 2 3 4 5 6 7 A B C 1-Nov-04 8-Nov-04 15-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 2-Nov-04 15-Dec-04 17-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 2

2 DATEDIF( ) 1 2 3 4 5 6 7 A B C 1-Nov-04 8-Nov-04 15-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 2-Nov-04 15-Dec-04 17-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 #NAME?

3 DAYS360( ) 1 2 3 4 5 6 7 A B C 1-Nov-04 8-Nov-04 15-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 2-Nov-04 15-Dec-04 17-Dec-04 17-Nov-04 18-Nov-04 19-Nov-04 22-Nov-04 2

Function datedif( ) 2 DATEDIF(,,) 2 DAYS360(,,)

days360( )

: MS Excel HR

:-

1 2 3 4 5 6 7 - .. . 18 Jun 09 18-Jun-09

1 Jun 97 =DATEDIF(D6,$D$3,"Y") 1 Jun 97 #NAME? =DATEDIF(D7,$D$3,"YM") 1 Jun 97 #NAME? #NAME? =DATEDIF(D8,$D$3," 1 Oct 99 #NAME? #NAME? #NAME? 15 Mar 01 #NAME? #NAME? #NAME? 15 Mar 01 #NAME? #NAME? #NAME? 15 Jun 03 #NAME? #NAME? #NAME?

- Function 2 datedif( ) =DATEDIF("", "", ) Y M D YM YD MD

$D$3,"YM") =DATEDIF(D8,$D$3,"MD") =E9&" "&F9&" "&G9&" " #NAME? #NAME? #NAME?

SUMIF 2 2 6 1 2 2 1 1 1 1 3 3 2 10 37 5 10 15 4 3 37 ===== ========== =============== ==== ===

9 6 22 37

========= ====== ======================

Function SUM() SUMIF( , ,) REPT(,)

: MS Excel HR

:-

: MS Excel HR

:-

1 2 3 4 5 6 7 .. . (100 ) 30 16 46 25 60 85 20 50 70 15 40 55 10 30 40 25 20 45 20 35 55

80 70 80 60 70 50 60 50

A B C D F

Function if( )

50?

60?

0 0

=COUNTIF(H4:H10,"") =COUNTIF(H4:H10,"")

F

D

3 = ""?

1 2 3 4 5 6 7

60?

70?

80?

D

C

B

A

-

A+ A B+ B C D E

Std. 95 85 80 75 60 50 0

Score

Grade

98 92 45 60 74 78 86

A+ A+ E D C B A

1. - 2. 30 15 3. 4.

2/Dec/2004 31/Dec/2004 5/Dec/2004 6/Dec/2004 10/Dec/2004 30/Dec/2004 31/Dec/2004 #NAME? 18 =NETWORKDAYS(C11,C12,C13:C17)

= =

** 15 Function datedif( ) networkdays( )

2

12,C13:C17)

.. 1 HR Center 85.00 1,250.00 750.00 245.00 5,200.00 560.00 3,250.00 30.00 2,460.00

2

3

HR05 HR08 HR09 HR03 HR01 HR04 HR02 HR03 HR05

HR01 5,200.00 -

HR02 3,250.00 -

HR03 245.00 30.00 -

HR04 560.00 -

HR05 85.00 2,460.00

HR06 -

HR07 -

4

5

13,830.00

5,200.00

3,250.00

275.00

560.00

2,545.00

-

-

.. HR01 HR02 HR03 HR04 HR05 HR06 HR07 HR08 HR09 HR10 5,200.00 3,250.00 275.00 560.00 2,545.00 1,250.00 750.00 13,830.00

5,500 5,000 4,500 4,000 3,500 3,000 2,500 2,000 1,500 1,000 500 HR01

HR03

HR05

HR07 HR08

HR09 HR10 :-

: MS Excel HR

500 HR01

HR03

HR05

HR07 HR08

HR09 HR10

: MS Excel HR

:-

HR08 1,250.00 -

HR09 750.00 -

HR10 -

1,250.00

750.00

-

R03

HR05

HR07 HR08

HR09 HR10 :-

: MS Excel HR

R03

HR05

HR07 HR08

HR09 HR10

: MS Excel HR

:-

-1 CODE PRODUCT A001 Harddisk 30GB./5400 A002 Harddisk 40GB./5400 A003 Harddisk 40GB./7200 B001 IDE External Case 3.5 B002 IDE External Case 2.5 C001 Disk 1.44 MB. C002 Disk 1.44 MB. (Pack) C003 CDR C004 CD-RW C005 2 Side CD-Box PRICE 4,300 4,900 5,200 1,100 750 12 100 15 50 10

123 4 . . . . . 01-2345678 09-8765432 1 1 10 5 20 A003 B002 C002 C004 C005 Harddisk 40GB./7200 IDE External Case 2.5 Disk 1.44 MB. (Pack) CD-RW 2 Side CD-Box

1212345465

/

5,200 5,200 750 750 100 1,000 50 250 10 200 =VLOOKUP(F11,$A$6:$C$15,2,FALSE)

=IF(ISBLANK(F15)," ",VLOOKUP(F15,$A$6:$C$15,2,FALSE))

()

7,400 518 7,918

Function if( ) isblank( ) vlookup( ) sum( ) bahttext( )

:- MS Excel HR

:-

=IF(ISBLANK(F15)," ",VLOOKUP(F15,$A$6:$C$15,2,FALSE))

:- MS Excel HR

:-