in reply to need help with data manipulation

What have you tried s far?
perhaps a sittle sample data as well would help.

Enjoy!
Dageek