Perhaps if you posted a sample spreadsheet of your data, it would be easier to supply you with a workable solution.