Data Import & Export

How to Automatically Update an Excel Workbook in OneDrive using Power Automate

Amos GikundaAmos Gikunda Nov 2, 2026 870 views

Question details

The user needs to automate the process of downloading Excel workbook data, appending new rows to a predefined workbook in OneDrive, removing duplicates, filtering values, and deleting specific rows.

Automatically Update an Excel Workbook in OneDrive with Power Automate
Product
Microsoft Excel
Device & OS
not provided
Scenario
Automating routine data operations between multiple Excel workbooks stored in OneDrive without manual intervention.
Observed behavior
The user is looking for a comprehensive workflow to extract, clean, and transfer data seamlessly using an automated setup like Power Automate.
Before you start

Ensure both the source and destination Excel workbooks are saved in OneDrive and that the data is formatted as an official Excel Table (Insert > Table), as Power Automate requires named tables to identify and modify rows.

Solution 1Recommended

Create an Automation Flow Using Power Automate

Use Microsoft Power Automate's built-in Excel Online (Business) connectors to automatically handle data transfer and manipulation between your OneDrive workbooks.

Microsoft Power Automate is the ideal tool for handling conditional logic, row additions, and cross-workbook data transfers. While basic actions are built-in, complex operations like deduplication or mimicking VLOOKUP require specific array operations or Office Scripts.

1
Set up the flow trigger

Navigate to Power Automate, create a new Cloud Flow, and select an appropriate trigger such as 'When a file is created' in OneDrive or 'When a new email arrives' with an attachment.

2
Extract the source data

Add the 'List rows present in a table' action from the Excel Online (Business) connector, pointing it to your newly downloaded or updated source workbook.

3
Append new data to the predefined workbook

Add an 'Apply to each' loop combined with the 'Add a row into a table' action to insert the extracted rows into your target destination table.

4
Handle duplicates and value checks

To check values and remove duplicates automatically, implement 'Filter array' actions with conditions to cross-reference data, or trigger an Office Script designed specifically to clean the table directly within Excel.

Create an Automation Flow Using Power Automate
Power Automate Community Guidance: For highly specific automated logic regarding duplicate removal and complex VLOOKUP operations, consulting the Microsoft Power Automate Community forums is highly recommended, as they offer pre-built templates for these precise tasks.
Free Microsoft Office alternative

Try WPS Office for Your Spreadsheet Data Management

While cloud-based automation using Power Automate is unique to the Microsoft ecosystem, WPS Office stands as a powerful, free, and lightweight alternative for your daily spreadsheet processing. It offers profound compatibility with Excel formats and robust local automation features.

  1. 1. Download and install: Visit the official WPS Office website to download and install the free software suite on your device.
  2. 2. Open your workbooks: Launch WPS Spreadsheet and seamlessly open your existing .xlsx files directly without any formatting loss.
  3. 3. Manage and automate data: Utilize the intuitive 'Data' tab for instant duplicate removal, and leverage native VBA support to automate routine local operations.
Free and lightweight office suite for faster performanceFully compatible with Microsoft Excel (.xlsx) formatsBuilt-in advanced data tools for quick filtering and duplicate removalSupports powerful VBA macros for custom task automationFamiliar user interface requiring zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Can Power Automate update an Excel file if the data isn't in a Table format?

No. Power Automate strictly requires your data to be formatted as an official Excel Table (created via Insert > Table). It uses the defined Table boundaries to accurately identify, read, and append rows.

Is there a direct action to remove duplicates in Power Automate?

There is no single built-in 'Remove Duplicates' action for Excel in Power Automate. Users typically solve this by writing an Office Script to clean the Excel file and triggering that script via the flow, or by utilizing 'Filter Array' logic before pushing the data.

How do I automate VLOOKUP operations in Power Automate?

Instead of executing standard VLOOKUP formulas, Power Automate relies on listing the rows from both tables and using a 'Filter Array' action to match corresponding identifiers between the two datasets before processing the resulting data.

Can I trigger a flow strictly when an Excel attachment arrives via email?

Yes. You can use the 'When a new email arrives' trigger (via the Outlook or Office 365 connector), check the 'Has Attachment' setting, dynamically save the Excel file to OneDrive, and then extract the data from its tables.