abdo meghari
Well-known Member
- Joined
- Aug 3, 2021
- Messages
- 639
- Office Version
- 2019
Hello ,
I want creating report by copy data contains minus numbers for the last column , but the macro should deal with last column that add every time and deal with change data in first sheet .
before
result should be as this
I want creating report by copy data contains minus numbers for the last column , but the macro should deal with last column that add every time and deal with change data in first sheet .
before
Bridgestone Stock Sales report (2).xls | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | DECEMBER | JANUARY | FEBRUARY | |||||||||||
2 | Size | Pattern | Origin | Arrived | Sales | Stock | Arrived | Sales | Stock | Arrived | Sales | Stock | ||
3 | BS 175/70R13 | B25A32 | INDO | - | - | - | - | - | - | - | - | - | ||
4 | BS 175/70R13 | EP150 | INDO | - | - | - | - | - | - | - | - | - | ||
5 | BS 175/70R13 | EP150 | THI | 344 | 20 | 324 | - | - | 324 | - | 57 | 267 | ||
6 | BS 175/70R13 | EP150 | TR | 3 | - | 3 | - | 4 | -1 | - | - | -1 | ||
7 | BS 185/70R13 | EP150 | INDO | 34 | 20 | 14 | 4 | 1 | 17 | - | - | 17 | ||
8 | BS 185/70R13 | EP150 | THI | - | 8 | -8 | - | - | -8 | - | - | -8 | ||
9 | BS 175/65R14 | EP150 | THI | - | - | - | - | - | - | - | - | - | ||
10 | BS 175/65R14 | EP150 | JAP | - | - | - | - | - | - | - | - | - | ||
11 | BS 175/65R14 | B25A32 | INDO | - | - | - | - | - | - | - | - | - | ||
12 | BS 175/65R14 | B25A32 | THI | - | - | - | - | - | - | - | 150 | -150 | ||
13 | BS 175/70R14 | EP150 | THI | - | 20 | -20 | - | - | -20 | - | - | -20 | ||
14 | BS 175/70R14 | MY02 | THI | - | - | - | - | - | - | - | - | - | ||
15 | BS 185/65R14 | TEC | THI | - | - | - | 4 | 1 | 3 | - | 9 | -6 | ||
16 | BS 185/65R14 | EP150 | INDO | 9 | - | 9 | - | 18 | -9 | - | - | -9 | ||
17 | BS 185/65R14 | EP150 | TR | - | - | - | 123 | 123 | - | 13 | 110 | |||
18 | BS 185/65R14 | 150EZ | INDO | - | - | - | - | - | - | - | - | - | ||
19 | BS 185/70R14 | B25A32 | THI | - | - | - | - | - | - | - | - | - | ||
20 | BS 195/70R14 | 150EZ | THI | - | - | - | - | - | - | - | 100 | -100 | ||
In & Out Balance |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F3:F20 | F3 | =D3-E3 |
L3:L20,I3:I20 | I3 | =F3+G3-H3 |
result should be as this
Bridgestone Stock Sales report (2).xls | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ||||||
2 | Size | Pattern | Origin | Stock | ||
3 | BS 175/70R13 | EP150 | TR | -1 | ||
4 | BS 185/70R13 | EP150 | THI | -8 | ||
5 | BS 175/65R14 | B25A32 | THI | -150 | ||
6 | BS 175/70R14 | EP150 | THI | -20 | ||
7 | BS 185/65R14 | TEC | THI | -6 | ||
8 | BS 185/65R14 | EP150 | INDO | -9 | ||
9 | BS 195/70R14 | 150EZ | THI | -100 | ||
RESULT |