Hi There,
Create a trigger 'When a file is created in a folder' SharePoint connector in Power Automate.
Use action 'List rows present in a table' Excel business and setup location of file in share Point.
Apply 'Apply to each' control and use 'value' from the 'List rows present in a table' action for its input.
Add the 'Delete row' action inside 'Apply to each', referencing the ID from the 'List rows present in a table' step.
Add the 'Add a row into a table' action still within 'Apply to each', specifying the same table as before, but with the cells' values instead of the formulas.
Save and test.
Please give kudos and mark as solution if it helps.
Thanks,
Sandeep Mishra