Hi all!
I have the following data:
| RecordID | RandomDescriptionName |
| 1 | The Jet Liner AAR Manshowitzs |
| 2 | Domicile Thunder LLC Capital |
| 3 | King of Prussia ZZDE Capital |
| 4 | Breslau 778 GA-STR Demand |
| 5 | Bavaria Man GL-SST |
I have the following mapping table:
| RecordID | Map |
| 1 | LLC |
| 2 | GA-STR |
| 3 | AAR |
| 4 | ZZDE |
The above is NOT mapped by RecordID or position. It is based on the words of Map in the Description. The Description name as well can change, so I think a Dynamic Rename is needed to force to the name to standardize.
I need to use Regex_CountMatches([String],"Pattern") in order to map it, but I am looking for a dynamic solution - a batch macro if you will, to resolve it.
The idea is to have the first data set go row by row, and then compare it against the mapping list. Whichever is a hit, then it gets through. If it's not hitting any Map, then I want it to go out.
I'm facing some difficulty on this and I am not sure how to tackle it. I've got the basic idea down, and I'd love to hear from others or see how others would tackle it.
For context, I have about 800 possible Mapping rows. All help appreciated!