I am having trouble figuring out what it is exactly that you are trying to do. Can you post an example of the data that you are dealing with, as well as what the desired outcome woudl be?