Read, reorganize and write Excel data