hi all,
I have certain condition if those coloumns fulfill those the Approval type remapped should be a certain case. In the below table the if shows the conditions that the data should fulfill map the Approval type.
I tried out different combinations of IF and IIF but still not getting the desired result.
Attaching the data set below.
| if | should be |
| Rule no: | Vehicle Manufacturer | Claim Key | Approval type | Approval Sub Type | Approval type remapped |
| 1 | BMW, Mini | MBMW%, MK1MW% | BMW | | BMW-Scheme |
| 2 | BMW, Mini | MBMW%, MK1MW% | | B% | BMW-Scheme |
| 3 | BMW, Mini | not (MBMW% or MK1MW%) | BMW | | BMW-Non Scheme |
| 4 | BMW, Mini | not (MBMW% or MK1MW%) | | B% | BMW-Non Scheme |
Data Set
| Vehicle Manufacturer Name | claim key | Approval Type | Approval Sub Type | Approval type remapped |
| MINI | bmw1234 | No Approval Type Specified | B | |
| FORD | MK1MW456 | No Approval Type Specified | G | |
| MACE assessment | MBMW4553 | No Approval Type Specified | D | |
| BMW | jfklellm | No Approval Type Specified | B | |
| VAUXHALL (NEW) | flnelkfnm1451 | No Approval Type Specified | E | |
| BMW | nkenkfn175 | No Approval Type Specified | B | |
| LANDROVER | nkdn,425 | No Approval Type Specified | B | |
| MINI | m1256.MBMW | No Approval Type Specified | B | |
Regards
Rohini