Revisions made to Excel export

Minor revisions to fix the three rows that were being written to the
file.