web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extracting only New Da...
Power Automate
Suggested Answer

Extracting only New Data from Excel Email Attachment and Creating Master File

(1) ShareShare
ReportReport
Posted on by 2
Hello,

I receive the same email each morning with a report via an excel email attachment. This attachment consists of a list of "open" items - one item per row of data. As these items are "worked" they fall off of the report as they are closed. The end goal is for there to be a power automate flow that extracts the data each day and adds the data to a master file. However, I also need the flow to look for data that has already been previously copied. I have a unique "item number" as a data point for each item.
 
I am OK with the master file being an excel file or sharepoint list. 
 
Any help would be appreciated.
Categories:
I have the same question (0)
  • Suggested answer
    Lindholt Solutions Profile Picture
    8 on at

    To automate this process, Power Automate can be used to extract data from the daily Excel attachment and update a master dataset while avoiding duplicates based on the unique item number.

     

    Start by ensuring that the Excel file in the email attachment contains a properly formatted table. Power Automate’s Excel Online (Business) connector requires data to be in a table for reliable access. If the file is not structured as a table, you can use Office Scripts to convert the data range into a table once the file is saved to SharePoint or OneDrive.

     

    Once the file is in the correct format, the flow should trigger when the email arrives and save the attachment to a specific location in SharePoint or OneDrive. From there, use the “List rows present in a table” action to read data from both the incoming file and the existing master file. For each row in the new file, check whether the item number already exists in the master dataset. If it does not, append the row to the master file.

     

    The master dataset can be maintained in an Excel file with a defined table stored in SharePoint, which is suitable for low to moderate volumes. If you need more structure or plan to expand the process, storing the data in a SharePoint list may provide better long-term maintainability and performance.

     

    Be sure to account for data consistency between the incoming files and the master file. Differences in formatting, extra spaces, or inconsistent casing can lead to inaccurate comparisons and duplicate entries.

     

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard