I previously posted a similar question but I think I failed in getting across my question, however after many sleepness nights I want to see if it can be approached another way.
What I need to do is "lookup" the No 9 in Col "H", when it finds an instance store the value in Col "G", then add to the value stored in "G" all instances of the no 8 in Col "H" until the next 9 is reached, this should then be outputted in Col "I" next to the instance of 9. See extarctions below:
What I need to do is "lookup" the No 9 in Col "H", when it finds an instance store the value in Col "G", then add to the value stored in "G" all instances of the no 8 in Col "H" until the next 9 is reached, this should then be outputted in Col "I" next to the instance of 9. See extarctions below:
Purch Orders BP²I.xls | ||||||
---|---|---|---|---|---|---|
G | H | I | J | |||
1 | UnitCost(GBP) | Expense/Asset | AssetValue | GLCode | ||
2 | 1,266.00 | 9 | 2,055 | 241370 | ||
3 | 157.00 | 8 | 241370 | |||
4 | 62.00 | 8 | 241370 | |||
5 | 174.00 | 8 | 241370 | |||
6 | 133.00 | 8 | 241370 | |||
7 | 169.00 | 8 | 241370 | |||
8 | 44.00 | 8 | 241370 | |||
9 | 35.00 | 8 | 241370 | |||
10 | 15.00 | 8 | 241370 | |||
11 | 6,365.00 | 9 | 10,055 | 241370 | ||
12 | 2,641.00 | 8 | 241370 | |||
13 | 159.00 | 8 | 241370 | |||
14 | 230.00 | 8 | 241370 | |||
15 | 44.00 | 8 | 241370 | |||
16 | 235.00 | 8 | 241370 | |||
17 | 331.00 | 8 | 241370 | |||
18 | 35.00 | 8 | 241370 | |||
19 | 15.00 | 8 | 241370 | |||
Assets |