I have following dataset
Input :
| NA | AMT | Brackets |
| CA | 1400.00 | 1400.00 |
| CA | -1400.00 | (1400.00) |
| 4 | 1400.00 | 1400.00 |
Expected Output:
Rules:
1. positive and Negative Same Amount should be matched
2. String and number should be Matched, string and string should not be matched, same with number
in this example string is CA it be can be anything NA, RS etc same with number
| NA | AMT | Brackets | match |
| CA | 1400.00 | 1400.00 | |
| CA | -1400.00 | (1400.00) | M |
| 04 | 1400.00 | 1400.00 | M |