Hello,
I'll try to make this clear, but I'm not sure if I'll be able to. Maybe I've got too much background, but I don't know how else to get an answer without giving the context. I hope it helps.
I'm using Category, Product and Type as my data buckets, but that's for simplicity of explanation...