Hello All,
We are trying to exclude the data if there are is one code "99" and any other code "xx" within the same month for each no. Attached the file ad below the output. Please help.
Output:
| No | Month | CD |
| 131123345555-B11111111 | Feb | 99 |
| 131123345555-B11111111 | Mar | 99 |
| 131123345555-B11111111 | Apr | 99 |
| 131123345555-B11111111 | May | 99 |
| 131123345555-B11111111 | July | 99 |
| 131123345555-B11111111 | Aug | 99 |
| 131123345555-B11111111 | Sep | 99 |
| 131123345555-B11111111 | Aug | 99 |
| 131123345555-B11111111 | June | 99 |
| 138888888888-B29999999 | Mar | 57 |
| 133333333333-B21333333 | May | 99 |
| 133333333333-B21333333 | July | 99 |
| 133333333333-B21333333 | Aug | 99 |
| 133333333333-B21333333 | Sep | 57 |
| 133333333333-B21333333 | Sep | 99 |
| 135555555554-B223444444 | Apr | 99 |
| 131123345555-B11111111 | June | 99 |