Why Perl? Excel has functionality to make a macro that should be able do exactly what you describe.
The only reason I can think of for doing it with Perl is if you want to avoid using Excel, but seeing that you want to put the information and the original format to another worksheet....? If you are not experienced with Perl, please go another route.