To really get a grasp on what you're trying to achieve it would be much easier with an example workbook.