Hi Kevin:
You should be able to write out your summary and your column to a different file and then use the read and write file functions to glue the two files together. If your file is not too huge, you can also just keep the data in memory and write it at the end of your run, after massaging all the data however you see fit.
Also, I see that you are naming your output file as <name>.xls. I would use an extension of .txt or .tab, since your file is not really an Excel file, it's a "spreadsheet-compatible text file". With the .tab extension, you can safely set up your computer to open those file types in Excel.
Jason