Hello
I have two sheets purchase ,debit
sheet PURCHASE contains invoices numbers in column B and summing values for each invoice by TOTAL in lastrow . sheets DEBIT also contains invoices numbers in column B . sheet DISCOUNT this is important when copy valuse from sheet DISCOUNT to sheets purchase, DEBIT . sheet PURCHASE should copy values to after TOTAL row from sheet DISCOUNT ( should summing values and merge dupilcates invoices in sheet DISCOUNT when copy to sheet PURCHASE ) and add NET row to subtract TOTAL from DISCOUNT and when show row NET but in sheet DEBIT should add after last row contains the same invoice no in column B with repeat client name and put word DISCOUNT in column B and put the value in column E .
result in sheet PURCHASE
RESULT IN SHEET DEBIT
I have two sheets purchase ,debit
sheet PURCHASE contains invoices numbers in column B and summing values for each invoice by TOTAL in lastrow . sheets DEBIT also contains invoices numbers in column B . sheet DISCOUNT this is important when copy valuse from sheet DISCOUNT to sheets purchase, DEBIT . sheet PURCHASE should copy values to after TOTAL row from sheet DISCOUNT ( should summing values and merge dupilcates invoices in sheet DISCOUNT when copy to sheet PURCHASE ) and add NET row to subtract TOTAL from DISCOUNT and when show row NET but in sheet DEBIT should add after last row contains the same invoice no in column B with repeat client name and put word DISCOUNT in column B and put the value in column E .
Result (1) (1).xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ITEM | INVOICE NO | ORDER NO | CO-IT | FOOD | TT-MMN | ORT-WW | QTY | PRICE | TOTAL | ||
2 | 1 | INV00-001 | DEL00-001 | COR-FF1 | FR | BANANA | TT | 400.00 | 230.00 | TRY 92,000.00 | ||
3 | 2 | INV00-001 | DEL00-002 | COR-FF2 | FR | APPLE | LL | 100.00 | 234.00 | TRY 23,400.00 | ||
4 | 3 | INV00-001 | DEL00-003 | COR-FF3 | FR | PEAR | NN | 10.00 | 233.00 | TRY 2,330.00 | ||
5 | TOATL | TRY 117,730.00 | ||||||||||
6 | 1 | INV00-002 | DEL00-004 | COR-FF4 | FR | BANANA | 20.00 | 300.00 | TRY 6,000.00 | |||
7 | TOATL | TRY 6,000.00 | ||||||||||
8 | 1 | INV00-003 | DEL00-005 | COR-FF5 | VEG | TOMATO | SS | 22.00 | 200.00 | TRY 4,400.00 | ||
9 | TOATL | TRY 4,400.00 | ||||||||||
10 | 1 | INV00-004 | DEL00-006 | COR-FF6 | VEG1 | TOMATO | AA | 22.00 | 123.00 | TRY 2,706.00 | ||
11 | 2 | INV00-004 | DEL00-007 | COR-FF7 | VEG2 | TOMATO | AA | 33.00 | 234.00 | TRY 7,722.00 | ||
12 | TOATL | TRY 10,428.00 | ||||||||||
PURCHASE |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J10:J11,J8,J6,J2:J4 | J2 | =I2*H2 |
J5 | J5 | =SUM(J2:J4) |
J7,J9 | J7 | =J6 |
J12 | J12 | =SUM(J10:J11) |
Result (1) (1).xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | ITEM | INVOICE NO | CLIENT | DEBIT | CREDIT | ||
2 | 1 | INV00-001 | KALIL1 | 200000 | 1000 | ||
3 | 2 | INV00-002 | KALIL2 | ||||
4 | 3 | INV00-003 | KALIL3 | 100000 | 1000 | ||
5 | 4 | INV00-004 | KALIL4 | ||||
6 | 5 | INV00-005 | KALIL5 | 250000 | 1000 | ||
7 | 6 | INV00-006 | KALIL6 | ||||
8 | |||||||
DEBIT |
Result (1) (1).xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ITEM | INVOICE NO | DISCOUNT | CO-IT | FOOD | TT-MMN | ORT-WW | QTY | PRICE | TOTAL | ||
2 | 1 | INV00-001 | DIS00-001 | COR-FF1 | FR | BANANA | TT | 400.00 | 220.00 | TRY 88,000.00 | ||
3 | 2 | INV00-001 | DIS00-002 | COR-FF2 | FR | APPLE | LL | 100.00 | 213.00 | TRY 21,300.00 | ||
4 | 3 | INV00-002 | DIS00-003 | COR-FF4 | FR | BANANA | 20.00 | 220.00 | TRY 4,400.00 | |||
DISCOUNT |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J2:J4 | J2 | =I2*H2 |
result in sheet PURCHASE
Result (1) (1).xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ITEM | INVOICE NO | ORDER NO | CO-IT | FOOD | TT-MMN | ORT-WW | QTY | PRICE | TOTAL | ||
2 | 1 | INV00-001 | DEL00-001 | COR-FF1 | FR | BANANA | TT | 400.00 | 230.00 | TRY 92,000.00 | ||
3 | 2 | INV00-001 | DEL00-002 | COR-FF2 | FR | APPLE | LL | 100.00 | 234.00 | TRY 23,400.00 | ||
4 | 3 | INV00-001 | DEL00-003 | COR-FF3 | FR | PEAR | NN | 10.00 | 233.00 | TRY 2,330.00 | ||
5 | TOTAL | TRY 117,730.00 | ||||||||||
6 | DISCOUNT | TRY 109,300.00 | ||||||||||
7 | NET | TRY 8,430.00 | ||||||||||
8 | 1 | INV00-002 | DEL00-004 | COR-FF4 | FR | BANANA | 20.00 | 300.00 | TRY 6,000.00 | |||
9 | TOTAL | TRY 6,000.00 | ||||||||||
10 | DISCOUNT | TRY 4,400.00 | ||||||||||
11 | NET | TRY 1,600.00 | ||||||||||
12 | 1 | INV00-003 | DEL00-005 | COR-FF5 | VEG | TOMATO | SS | 22.00 | 200.00 | TRY 4,400.00 | ||
13 | TOTAL | TRY 4,400.00 | ||||||||||
14 | 1 | INV00-004 | DEL00-006 | COR-FF6 | VEG1 | TOMATO | AA | 22.00 | 123.00 | TRY 2,706.00 | ||
15 | 2 | INV00-004 | DEL00-007 | COR-FF7 | VEG2 | TOMATO | AA | 33.00 | 234.00 | TRY 7,722.00 | ||
16 | TOTAL | TRY 10,428.00 | ||||||||||
PURCHASE |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J14:J15,J12,J8,J2:J4 | J2 | =I2*H2 |
J5 | J5 | =SUM(J2:J4) |
J7,J11 | J7 | =J5-J6 |
J16 | J16 | =SUM(J14:J15) |
RESULT IN SHEET DEBIT
Result (1) (1).xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | ITEM | INVOICE NO | CLIENT | DEBIT | CREDIT | ||
2 | 1 | INV00-001 | KALIL1 | 200000 | 1000 | ||
3 | DISCOUNT | KALIL1 | TRY 109,300.00 | ||||
4 | 2 | INV00-002 | KALIL2 | ||||
5 | DISCOUNT | KALIL2 | TRY 4,400.00 | ||||
6 | 3 | INV00-003 | KALIL3 | 100000 | 1000 | ||
7 | 4 | INV00-004 | KALIL4 | ||||
8 | 5 | INV00-005 | KALIL5 | 250000 | 1000 | ||
9 | 6 | INV00-006 | KALIL6 | ||||
DEBIT |