Hi Mei,
I think it's not possible with the essay question type, but anyway it'd make the correction of the question quite cumbersome. I'd use instead the activity Assignment, so that students can upload the excel file as the product. It can be corrected using a checklist or a rubric and it is therefore more efficient.