finish excel output