Hi again,
So here goes nothing (as I'm puzzled by some of the dates and their meaning). I'm assuming "OB" is the starting point and I would keep this list static in terms of quantities. Perhaps add a column "Outstanding Balance". I apologize up front if this is not what you are after. Bear with, be patient then.
Outstanding: =SUMIF(OB!$C:$C,Outward!$C2,OB!$E:$E)
StockIn: =SUMIFS('GRN SRN'!$I:$I,'GRN SRN'!$C:$C,Outward!$C2,'GRN SRN'!$B:$B,"<="&Outward!$B2)
StockOut =SUMIF(Outward!$C$2:$C2,Outward!$C2,Outward!$G$2:$G2)
Remaining Stock: =Outstanding+StockIn-StockOut
Book1 |
---|
|
---|
| A | B | C | D | E | F | G |
---|
1 | ### | Posting Date | Part No | Description | OB Qty | UOM | OB |
---|
2 | 1 | 1/04/2020 | 119-4151 | Screw Special (57-4910) | 10 | Nos | 19 |
---|
3 | 2 | 1/04/2020 | 93-4264 | Bedknife-Low Cut. | 50 | Nos | 77 |
---|
4 | 3 | 1/04/2020 | 92-9218 | V belt | 5 | Nos | 48 |
---|
|
---|
Book1 |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K |
---|
1 | ### | Posting Date | Part No | Description | Customer / Vendor Name | | Out Qty | UOM | Remaining Stock | Serial No | Remarks |
---|
2 | 1 | 2/05/2020 | 119-4151 | Screw Special (57-4910) | XXXXX | | 2 | Nos | 28 | | |
---|
3 | 2 | 4/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXX | | 3 | Nos | 86 | | |
---|
4 | 3 | 4/05/2020 | 92-9218 | V belt | XXXXX | | 1 | Nos | 49 | | |
---|
5 | 4 | 2/05/2020 | 119-4151 | Screw Special (57-4910) | XXXXX | | 5 | Nos | 23 | | |
---|
6 | 5 | 4/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXX | | 3 | Nos | 83 | | |
---|
7 | 6 | 2/05/2020 | 119-4151 | Screw Special (57-4910) | XXXXX | | 3 | Nos | 20 | | |
---|
8 | 7 | 4/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXX | | 3 | Nos | 80 | | |
---|
9 | 8 | 2/05/2020 | 119-4151 | Screw Special (57-4910) | XXXXX | | 1 | Nos | 19 | | |
---|
10 | 9 | 4/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXX | | 3 | Nos | 77 | | |
---|
11 | 10 | 4/05/2020 | 92-9218 | V belt | XXXXX | | 1 | Nos | 48 | | |
---|
|
---|
Book1 |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J |
---|
1 | ### | Posting Date | Part No | Description | Sender / Supplier Name | Document No | GRN No | SRN No | In Qty | UOM |
---|
2 | 1 | 25/04/2020 | 119-4151 | Screw Special (57-4910) | XXXXXXX | XXXX | XXX | | 20 | Nos |
---|
3 | 2 | 25/04/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | XXX | | 9 | Nos |
---|
4 | 3 | 25/04/2020 | 92-9218 | V belt | XXXXXXX | XXXX | XXX | | 15 | Nos |
---|
5 | 4 | 3/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | | XXX | 1 | Nos |
---|
6 | 5 | 25/04/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | XXX | | 9 | Nos |
---|
7 | 6 | 25/04/2020 | 92-9218 | V belt | XXXXXXX | XXXX | XXX | | 15 | Nos |
---|
8 | 7 | 3/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | | XXX | 1 | Nos |
---|
9 | 8 | 25/04/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | XXX | | 9 | Nos |
---|
10 | 9 | 25/04/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | XXX | | 9 | Nos |
---|
11 | 10 | 25/04/2020 | 92-9218 | V belt | XXXXXXX | XXXX | XXX | | 15 | Nos |
---|
12 | 11 | 3/05/2020 | 93-4264 | Bedknife-Low Cut. | XXXXXXX | XXXX | | XXX | 1 | Nos |
---|
|
---|