Hate to bump such an old thread for my first post but I have a similiar issue and I figure it's better than creating a new thread. I tried some of the code posted and it helped but unfortately I have multiple columns with comma delimiters and I cannot figure out how to tweak the code.
I really cannot divulge too much information from my file as it is sensitive material and I appologize in advance.
There are about 820 unique tools on the list with anywhere from 1-4 seperate orders for each. Unfortunately, they decided to condense the list before I started on the project and have ONE row for each tool - seperating the other fields with comma delimiters (why they didn't try to find a way to group with drop-downs is beyond me).
For every tool ordered, a notification is tied to an order number and a purchase requistion number. These numbers are uniquely matched and in respective order in each cell. A fourth value is the equiptment number and is in respective order but there can be multiple tools on the same notification/order/purchase requisition resulting in multiple. If a row has 2 notifications numbers (J), 2 order numbers (K), 2 purch req numbers (L), and (2) equiptment numbers (M) then they can be safely seperated into two rows. If say it has: 2 notifications numbers , 2 order numbers , 2 purch req numbers, and 8 equiptment numbers then it could be any combination (1 and 7, 4 and 4, 3 and 5 etc...) and I would need these rows highlighted and I could check the system and fix it manually (there are not too many that have multiple tools on the same order. Note, there is a column (E) that has Quantity which matches the total number of equiptment numbers listed for each tool.
So, basically I need to go from a unique row for every tool to a unique row for every notification (with the uniquely matched order/purch req and for the most part, equiptment numbers matching).
Columns A,B,C,D,E can all be copied to the new rows as these values are tied to the tool, not the order. G,H,I and N are blank and are only useful after successfully seperating (I can delete them for now if that makes it easier). J, K, L, and M are the ones with commas that need to be seperated.
I know this may be a tall task and I applogize for being so vague - if more information is required I would be more inclined to share it via PM. My plan was, if this is do-able (I know it is I am just not versed with VBA) is to separate it all out and then group by duplicate Tool Numbers so that if you want to see the multiple orders it is just a drop down. I think that will be the easy part.
Thanks in advance and hopefully you experts out there can help me fix this awful Excel structure.