I would like to create a batch macro to process the data below. Iterate through the settings table, one process for each row. Append the three columns in settings to each group of data using column one as control parameter.
settings
data
| A | 13276 |
| A | 23417 |
| A | 44456 |
| B | 87934 |
| B | 34321 |
| C | 33430 |
| C | 33428 |
The output should be three files. One for each row in settings.
| A | 13276 | 3 | 4 | 5 |
| A | 23417 | 3 | 4 | 5 |
| A | 44456 | 3 | 4 | 5 |
Each iteration would produce one of the output files above. If someone could please give me insight, is this possible and how would I achieve this?