Hi Jasper, welcome to korg.

I'm trying to paint a mental picture of what your asking. So a sample of your input would be something like this (using csv just for convience):

"car","ford","blue"
"bike","harley","grey"
"car","honda","silver"
"bike","honda","black"

then you want two xlsheets produced (name in brackets), like this:

[car]

ford,blue
honda,silver

[bike]
harley,grey
honda,black

Plus, these rows will be additive in that you will be appending new rows every time you run the script ?