Modify the Excel sheets by special rules