Excel header(template) delete and copy remaining data to a new excel file

Hi,

I have got an InputExcel file(attached), where there is an header template within the excel(AWS) and remaining data. Here i have done a sample workflow where the AWS(from InputExcel) is removed and got the result in OutputExcelfile.

However,this is static and this will work as long as there are 5 columns in InputExcel File.

Now i need to develop a workflow which should work for dynamic InputExcel files. As in, there might me an input where 7 or 8 columns might be there in future.

Also attaching the SampleInputExcelfile(for dynamic) for reference.

Can someone help me.

Thanks in advance.

New folder1 - updated.zip (33.9 KB)