What you're asking for would require a macro. However, it's not really clear from your post how the data appear in your workbook. Perhaps you could attach one with some sample data to a post. You can do that via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|