Hi all,
Unfortunately, I am not allowed to share my actual dataset, so I made a sample dataset (Dataset.xlsx) that is as similar as possible to my actual one. What you will see in the .xlsx file, is several categories on the same sheet underneath each other. What I am trying to do, is to create the table as can be found in ResultingTable.xlsx.
I understand how to do this per category, see for Category 1 the workflow Example.yxmd. However, creating the same workflow multiple times (5 times in this case) is not optimal, and therefore I want to create a batch macro that I can run for all categories. The attached workflow can easily be transformed in such a macro, but the main problem that occurs is that an increasingly different number of lines needs to be skipped and a different number of lines needs to be kept as first lines. Now my question is, how can I change the macro in such a way that it is able to overcome this problem? And more importantly, what should be the input of the macro in order to skip and keep different number of lines?
Hopefully some of you have experienced such a problem and can provide me with a solution. Many thanks in advance!