Hi there,
I have a sheet that contains products (column B) and a list of ingredients that go into these products (column A) - see attached
I have roughly 50 products and I need to replicate these according to whether a separate date table is populated i.e. If the date table has Jan '17 and Feb '17 populated, I need the product and the corresponding ingredients to be duplicated twice (one for Jan and then again for Feb). If I then add Mar '17 to the Date table, then the same product and corresponding ingredients need to be appended below the Jan and Feb entries.
I have attached an excel doc with a simple example. The problem I am having is that I have 50 products and need to replicate these 24 times each (which I can currently do manually, but going forward I'm looking to automate this process by having a macro only populate what is in the date dimension table).
In the excel provided I have selected 2 products and have manually populated Jan and Feb '17. Ideally the macro would look at the Date tab and then append a further 22 iterations of each.
Please keep in mind that I do have a master product list and the ingredients do not change.
Thanks a million!
Bookmarks