Fix Power Automate Excel Table Configuration and Duplicate ID Issues
Question details
The user needs to fix a Power Automate flow that fails to reliably update Excel data due to unformatted data ranges and duplicate source IDs.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using a Power Automate flow to dynamically match and update specific rows in an Excel spreadsheet based on ID columns.
- Observed behavior
- The Power Automate flow cannot determine which values to update because the target range is not formatted as an official Excel table and the source matching column contains duplicate IDs.
Make sure to back up your original Excel data file and verify which column will serve as your unique identifier (primary key) before adjusting the table format.
Format Data as an Excel Table and Ensure Unique IDs
Convert your raw data range into an official Excel table and remove duplicate IDs so that Power Automate can correctly map and update the rows.
Power Automate requires target data to be stored within a designated Excel Table. Additionally, when updating rows, the Key Column must contain strictly unique values; otherwise, the automation cannot identify the correct row to modify.
To preserve your original layout, copy the target range from your current sheet (e.g., Sheet2) and paste it into a completely new worksheet.
Select the newly pasted data range. Navigate to the Insert tab and click Table (or press Ctrl+T). Ensure the 'My table has headers' box is checked, then click OK.
Go to your source data sheet (e.g., Foaie1). Select the column containing your IDs, navigate to the Data tab, and click Remove Duplicates to ensure every Request ID is unique.
Open your Power Automate flow and edit the 'Update a row' or 'Add a row into a table' action. Point the action to the newly created Excel table and map the unique ID column to the Key Column field.
Before running the flow, open the Excel file, navigate to the Data tab, and click Clear to remove any active filters on the table. Save and close the file.

Prepare and Format Excel Tables Seamlessly with WPS Office
If you frequently organize data, format tables, and clean up duplicate records for automated workflows, WPS Spreadsheet offers a lightweight, completely compatible alternative to Microsoft Excel.
- 1. Open your data file: Launch WPS Spreadsheet and open your .xlsx data file.
- 2. Format as Table: Highlight your dataset, go to the Home tab, and select Format as Table to structure your data for workflows.
- 3. Clean duplicates: Navigate to the Data tab and click Remove Duplicates to ensure your Key Columns contain unique identifiers.

Frequently Asked Questions
Why does Power Automate say it cannot find my Excel table?
Power Automate only recognizes data formatted as an official Excel Table, not just a normal range of cells. You must select your data, navigate to the Insert tab, click Table (or press Ctrl+T), and save the file before Power Automate can read it.
How do duplicate IDs affect Power Automate Excel updates?
When using the 'Update a row' action, Power Automate relies on a unique Key Column to locate the exact row. If there are duplicates in this column, the flow becomes confused and will either fail entirely or update the wrong record.
Can I use WPS Office to prepare my Excel files for Power Automate?
Yes. WPS Spreadsheet natively supports the .xlsx format. Any table you format or data you clean (like removing duplicates) in WPS Office will be perfectly recognized by Power Automate as standard Microsoft Excel tables.




