Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,168
- Office Version
- 365
- 2019
- Platform
- Windows
Good morning,
I need to check the first 5 values for each ID change. If the first 5 rows are either (EA or MA) then it receives an X if not then blank. PS, I have about 150,000 rows. Thanks in advance!
I need to check the first 5 values for each ID change. If the first 5 rows are either (EA or MA) then it receives an X if not then blank. PS, I have about 150,000 rows. Thanks in advance!
First 5 of each group.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | 111 | EA | 111 | X | ||||
2 | 111 | AB | 222 | |||||
3 | 111 | EA | 333 | X | ||||
4 | 111 | EA | 444 | X | ||||
5 | 111 | EA | 555 | |||||
6 | 111 | MA | ||||||
7 | 111 | AB | ||||||
8 | 222 | AB | ||||||
9 | 222 | EA | ||||||
10 | 222 | EA | ||||||
11 | 222 | EA | ||||||
12 | 222 | EA | ||||||
13 | 222 | EA | ||||||
14 | 333 | EA | ||||||
15 | 333 | EA | ||||||
16 | 333 | EA | ||||||
17 | 333 | EA | ||||||
18 | 333 | EA | ||||||
19 | 333 | EA | ||||||
20 | 444 | MA | ||||||
21 | 444 | MA | ||||||
22 | 444 | EA | ||||||
23 | 444 | EA | ||||||
24 | 444 | EA | ||||||
25 | 444 | EA | ||||||
26 | 555 | EA | ||||||
27 | 555 | AB | ||||||
28 | 555 | MA | ||||||
29 | 555 | MA | ||||||
30 | 555 | MA | ||||||
31 | 555 | AB | ||||||
Sheet2 |