It would be much easier for us to help you if you included a sample of the input data as well. See SSCCE on how to ask a good question, where "good" means likely to get answers.
Fair enough, I appreciate the feed back, I will create some sample data when I can. I've picked up a pretty nasty stomach flu so haven't been able to stick with work these past 2 days. I will also make sure to reference that every time I post because it seems like I definitely need some work on the SSCCE front