ibmy
Board Regular
- Joined
- Mar 4, 2020
- Messages
- 134
- Office Version
- 2016
- Platform
- Windows
Hi,
Sample of 100+k rows:
Range = Start Range (Below Current Row : Row x+1) -> End Range (Current Row + Value in Column H)
Example in Row 8:
H8 value is 4 so Count Distinct Value in Colum F in range of : Row 8+1=9 -> Row 8+4=12
Result in Column I, Row 8, I8 which is 3
Sample of 100+k rows:
2.15.xlsb | ||||||
---|---|---|---|---|---|---|
F | G | H | I | |||
1 | B | expected result : | ||||
2 | 1.21244 | |||||
3 | 1.21243 | 1 | 1 | |||
4 | 1.21244 | |||||
5 | 1.21242 | |||||
6 | 1.21241 | |||||
7 | 1.21240 | |||||
8 | 1.21238 | 4 | 3 | |||
9 | 1.21237 | |||||
10 | 1.21242 | |||||
11 | 1.21240 | |||||
12 | 1.21237 | |||||
13 | 1.21242 | 3 | 3 | |||
14 | 1.21241 | |||||
15 | 1.21242 | |||||
16 | 1.21237 | |||||
17 | 1.21237 | 2 | 1 | |||
18 | 1.21241 | |||||
19 | 1.21241 | |||||
20 | 1.21242 | |||||
21 | 1.21242 | |||||
22 | 1.21224 | |||||
23 | 1.21224 | |||||
24 | 1.21224 | 5 | 3 | |||
25 | 1.21224 | |||||
26 | 1.21225 | |||||
27 | 1.21237 | |||||
28 | 1.21225 | |||||
29 | 1.21224 | |||||
30 | 1.21225 | |||||
31 | 1.21226 | |||||
32 | 1.21226 | |||||
total distinct value |
Range = Start Range (Below Current Row : Row x+1) -> End Range (Current Row + Value in Column H)
Example in Row 8:
H8 value is 4 so Count Distinct Value in Colum F in range of : Row 8+1=9 -> Row 8+4=12
Result in Column I, Row 8, I8 which is 3