You are on page 1of 8

1

Compound Module

Excel

















IT




Excel VBA (Visual Basic for Applications)

Excel













....




Excel Excel

Excel
Excel
(-
)
Excel Compound Module


(-
)



Compound Module

Compound Module

Excel
Compound Module

Excel









(Simple Compound Module) (Dynamic Compound Module)

Copyright2009bywww.ExcelExpertTraining.com
2

Copy

Paste



Absolute ( $A$1) Relative ( A1)
Mixed Column ( $A1)


$A1 Paste Column





$

$ Copy

$
Compound Module
Module

$ $

Excel 2007 Home > Find & Select > Replace Excel 2003 Edit > Replace

Compound Module

Download www.ExcelExpertTraining.com/extreme/files/database/CompoundModule.xls

SimpleCompound A, B, C, D

(ProductName B4:B7) A

( C4:F4) 20
4 10
1
30 20
2, 3, 4

A, B, C, D
8
A, D, C, B ( )




L4:L6

8

11 3

Copyright2009bywww.ExcelExpertTraining.com
3

Gantt Chart Process 2


A 8:30
D Process 2
D Process

1 8:40 D Process 2
D Process
2 C B Process 2

Compound Module

B12:Z15 B12


C13:F13 (Time Consumed)

Time Consumed Table =VLOOKUP($B12,TimeConsumedTbl,C12+1,0)


Start Time
8:00 C10
Stop Time
C14:F15

Compound Module
D14

=MAX(D10,C15) D10
MAX

D10
Module (B12:Z15) $


Module
2 Stop Time Module Stop Time
Module (D10 vs C15)


Module B12:Z15

Copy B12:Z15 Paste Module

Module

Copyright2009bywww.ExcelExpertTraining.com
4

Module 1 row
=MAX(D10,C15)
Module Stop Time row Module

Compound Module Dynamic

Module


(Bill of Materials :
BOM) Dynamic

A 1 ( Unit = 1 ) B 2 C 3
B D 2 E 2 C E 2
F 2 F G 1 D 2

LT Lead Time

A 1 (


) B, C, D, E, F, G 2 , 1 , 1 , 2
3 (
.
(-
))

(Material Requirements Planning - MRP)



A B C
B
G

Copyright2009bywww.ExcelExpertTraining.com
5

LT
Excel MRP

Parent Child


A Parent B C Child
B Parent D E Child Parent-Child

DynamicCompound
CompoundModule.xls

Compound Module B6:P7 Column B,



C, E, F B6
Item Child C6
Parent E6
F6 Lead Time

Module
Copy Module B6:P7 Paste
Child->Parent

(B->A, C->A, D->B, E->B, E->C, F->C, G->F, D->F)

Column B, C, E, F Module


Column H:P


row Module (Last Row of Module) Column D


row Module Module Parent

Module Child

Row 14 E C

C C14 D14 9 =MATCH(C14,B$1:B$1001,0)+1
Parent C
Match C 8
B1:B1001 1
Row 9 row Module (Last Row of Module) C
Child

Copyright2009bywww.ExcelExpertTraining.com
6

150 N9 N14
9 D14
=INDIRECT(ADDRESS($D14,COLUMN()))*$E14 C 1 E 2
( E14 = 2) E 300 (=150x2) E

(LT) 2 E 5 7

=INDIRECT(ADDRESS($D14,COLUMN())) N14
Row
Column D14 Row Column() Column N

Address(9,14) $N$9
Indirect($N$9) N9

DynamicCompound

Module
Module
MRPModule

Module Copy Paste




Child Parent 3 ( D20:D22)
Module Child



MRP .
(-
) 136 Compound Module
Download www.ExcelExpertTraining.com/extreme/files/database/
CompoundModuleMRP(Ans).xls Excel


(-
)

Copyright2009bywww.ExcelExpertTraining.com
7

CompoundModuleMRP(Ans).xls Compound Module


2

Module


Compound Module

Excel







Excel Excel



Copyright2009bywww.ExcelExpertTraining.com
Copyright

XLSiam.com


XLSiam.com


20 2556

You might also like