I have a list of unique item numbers, each with a corresponding csv list of (20+) categories.

Is there a way to stack based on each csv to get the resulting table:

My current workaround is to use the "Text to Columns" in Excel, import the file, and then stack based on the columns. Is there an easy way to do this programatically in JMP?