Mr. Excel.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Inventory Data Form | |||||||||||
2 | Transaction | Inventory Transfer | ||||||||||
3 | Document No. | 5001 | ||||||||||
4 | Date | 22/02/2022 | ||||||||||
5 | ||||||||||||
6 | Location From | Factory 1 | ||||||||||
7 | Location To | Factory 2 | ||||||||||
8 | ||||||||||||
9 | Brand | Size | Quantity | Rate | Amount | |||||||
10 | ABC | 21 | 25 | 60 | 1,500 | |||||||
11 | CDE | 29 | 12 | 55 | 660 | |||||||
12 | ||||||||||||
13 | ||||||||||||
14 | Data base | |||||||||||
15 | Transaction | Document No. | Date | Location From | Location To | Brand | Size | Quantity | Rate | Amount | ||
16 | Opening stock | Factory 1 | ABC | 21 | 100 | 60 | 6,000 | |||||
17 | Opening stock | Factory 1 | CDE | 29 | 50 | 55 | 2,750 | |||||
18 | ||||||||||||
19 | Inventory Transfer | 5001 | 22/02/2022 | Factory 1 | ABC | 21 | -25 | 60 | (1,500) | |||
20 | Inventory Transfer | 5001 | 22/02/2022 | Factory 2 | ABC | 21 | 25 | 60 | 1,500 | |||
21 | Inventory Transfer | 5001 | 22/02/2022 | Factory 1 | CDE | 29 | -12 | 55 | (660) | |||
22 | Inventory Transfer | 5001 | 22/02/2022 | Factory 2 | CDE | 29 | 12 | 55 | 660 | |||
23 | ||||||||||||
24 | Closing stock | Factory 1 | ABC | 21 | 75 | 60 | 4,500 | |||||
25 | Closing stock | Factory 2 | ABC | 21 | 25 | 60 | 1,500 | |||||
26 | Closing stock | Factory 1 | CDE | 29 | 38 | 55 | 2,090 | |||||
27 | Closing stock | Factory 2 | CDE | 29 | 12 | 55 | 660 | |||||
Inventory transfer |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J24:J27,J19:J22,J16:J17,E10:E11 | E10 | =+C10*D10 |
D19 | D19 | =+B6 |
E20 | E20 | =+B7 |
D21 | D21 | =+B6 |
E22 | E22 | =+B7 |
H24 | H24 | =+H16+H19 |
H25,H27 | H25 | =+H20 |
H26 | H26 | =+H17+H21 |
Hi,
I need VBA to record transfer stock from Factory 1 to Factory 2 in tab "database" through Inventory Data Form.
please help