keithkemble
Board Regular
- Joined
- Feb 15, 2002
- Messages
- 160
My apologies for not being able to paste using HTML maker
What I am trying to do, without using VBA, is to be able to identify the last stock code in column B relative to the Location and current date
EG dynamically, the last stockcode for location 3 before the 5th Feb is 51025
Current date is $C$1
I can sumproduct using two conditions to establish the total qty for 2 conditions. Can this be adapted to use find ?
A B C D E
Date stock code Doc ref Location Qty in/(out)
2-Feb-05 12345 A1234 1 130
2-Feb-05 456 A1235 2 130
2-Feb-05 51025 A1236 3 130
2-Feb-05 10035 A1237 floor 130
2-Feb-05 25025 A1238 goodsin 130
2-Feb-05 12345 Out654 1 -10
4-Feb-05 12345 Out655 1 -15
5-Feb-05 12345 Out656 1 -15
3-Feb-05 51025 Out657 3 -50
14-Feb-05 51025 Out658 3 -25
2-Feb-05 25025 Out659 5 -16
What I am trying to do, without using VBA, is to be able to identify the last stock code in column B relative to the Location and current date
EG dynamically, the last stockcode for location 3 before the 5th Feb is 51025
Current date is $C$1
I can sumproduct using two conditions to establish the total qty for 2 conditions. Can this be adapted to use find ?
A B C D E
Date stock code Doc ref Location Qty in/(out)
2-Feb-05 12345 A1234 1 130
2-Feb-05 456 A1235 2 130
2-Feb-05 51025 A1236 3 130
2-Feb-05 10035 A1237 floor 130
2-Feb-05 25025 A1238 goodsin 130
2-Feb-05 12345 Out654 1 -10
4-Feb-05 12345 Out655 1 -15
5-Feb-05 12345 Out656 1 -15
3-Feb-05 51025 Out657 3 -50
14-Feb-05 51025 Out658 3 -25
2-Feb-05 25025 Out659 5 -16