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 / Add all rows to Excel ...
Power Automate
Unanswered

Add all rows to Excel master file from incoming email attachments

(0) ShareShare
ReportReport
Posted on by 2

Hello All,

 

I have a Flow that saves Excel spreadsheets from email (O365) attachments to OneDrive for Business.  I would like to update a master Excel file with all the rows from these Excel spreadsheets when they are saved to OneDrive.  Is this possible?  If not, would it be possible if I saved the email attachments to SharePoint instead?  Note that the Excel attachments are not in table format and each spreadsheet has a variable number of rows.  The master Excel file is in table format.

 

Thank You

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Pmarino100 

     

    For the Excel connector to read the excel file, it is required that the spreadsheet contains data formatted as an appropriate table. So if you save it on SharePoint or on OneDrive as long as the data is not formatted as a table, the excel connector in flow will not be able to read it. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Pmarino100 Profile Picture
    2 on at

    Hi Yashag2255,

     

    Thanks for your input.  I was finally able to do this by adding a Create Table step and choosing a large table range to accommodate the largest numbers of rows I expect to come through from the email attachments.  I then added a condition to the end of the Flow to only add rows with data to the master file.  The other difficulty was in getting the table variables to come through with no permanent file to pull from.  This was accomplished by following the suggestion from LuisGuzman98 on this post:  https://powerusers.microsoft.com/t5/Building-Flows/List-rows-present-in-table-dynamic-content-not-appearing/td-p/362464.

     

    Thank You

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard