ibmy
Board Regular
- Joined
- Mar 4, 2020
- Messages
- 138
- Office Version
- 2016
- Platform
- Windows
Hi,
Example :
E2 is 1.18981
then, Count Single in Column B which is appear in B2, B4, B12, B14, B20....result in F2
then, Count Multiple in Column B which is appear in B6-B10, B16-B17.....result in G2
p/s: Real data in Column B ranging from 50k-70k rows, and Column E (distinct value from Column B) ranging from 200-400 rows.
4.5.xlsb | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
1 | Data | Single, =1 | Multiple, >1 | |||||
2 | 1.18981 | 1.18981 | 5 | 2 | ||||
3 | 1.18975 | 1.18975 | 2 | 0 | ||||
4 | 1.18981 | 1.18955 | 2 | 1 | ||||
5 | 1.18955 | 1.11051 | 1 | 0 | ||||
6 | 1.18981 | |||||||
7 | 1.18981 | |||||||
8 | 1.18981 | |||||||
9 | 1.18981 | |||||||
10 | 1.18981 | |||||||
11 | 1.11051 | |||||||
12 | 1.18981 | |||||||
13 | 1.18955 | |||||||
14 | 1.18981 | |||||||
15 | 1.18975 | |||||||
16 | 1.18981 | |||||||
17 | 1.18981 | |||||||
18 | 1.18955 | |||||||
19 | 1.18955 | |||||||
20 | 1.18981 | |||||||
templete 1 |
Example :
E2 is 1.18981
then, Count Single in Column B which is appear in B2, B4, B12, B14, B20....result in F2
then, Count Multiple in Column B which is appear in B6-B10, B16-B17.....result in G2
p/s: Real data in Column B ranging from 50k-70k rows, and Column E (distinct value from Column B) ranging from 200-400 rows.