Inv# | code# | |
---|---|---|
12345 | 31 | |
12345 | 11 | |
45678 | 31 | |
23456 | 31 | |
23456 | 31 |
I need to pull all listings like INV# 12345, not INV# 23456 or INV# 45678. All listings that have 31 in one of the CODE# and not 31 in the next. Excluding all entries that that have 31 in all or only have one entry with 31 or not 31.