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 / Excel (or CSV) to shar...
Power Automate
Answered

Excel (or CSV) to sharepoint list

(0) ShareShare
ReportReport
Posted on by 682

Is it possible to use Flow to parse data from incoming Excel or csv files (files submitted to the SharePoint list or library) into columns in the same SharePoint list?  In other words, we have multiple csv files coming into the SharePoint list from an external forms service, and would like to automate the process of extracting the column data from those files, and adding a row to the SharePoint list for each incoming file.

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Runner55552,

     

    In order to acheive this you need to follow certain standard such as all excel file should use table. Map the table columns to SharePoint list columns. Also use the file system flow when file is created.

     

    Let me know it goes.

     

    Thanks

  • 55552 Profile Picture
    682 on at

    Thanks for the reply.  I don't think there is an option in Flow to reference an Excel file that resides within SharePoint.  The options seemed to allow referencing an Excel file if was was residing externally on OneDrive or other services.  Is this correct?  If so, this won't work for my particular need.

  • Dean Gross Profile Picture
    242 on at

    I think that it would be better to use Powershell to perform the file manipulations on a local computer before sending it to SharePoint.

  • 55552 Profile Picture
    682 on at

    We are really looking for a solution that would be contained within SharePoint.  Would Nintex workflow be able to handle the parsing automatically? 

  • 55552 Profile Picture
    682 on at

    I ended up using OneDrive, so the Flow now grabs Excel rows from a table within a file that has been sent to OneDrive (from a forms service called Forms on Fire).  These rows are then parsed/sent to a SharePoint list.  This works well, except due to the process, I always have one blank row along with my data rows.  Is there a Flow option to delete an item or delete an Excel row?  The number of rows in a file will vary, so I need to be able to search for the last row (the blank one) and delete it.  And of course, each time a new form comes in, it creates a new file, and the Flow operates on this new file (unique filename).

  • 55552 Profile Picture
    682 on at

    Update:  Flow seems to have trouble with incoming files if they have "filtering" turned on in the tables.  So if I add a file to OneDrive manually with the filtering turned off in the table headers, the Flow works fine.  Unfortunately, my automated process involves replacement of fields in a form (like Word's mail merge) each time a file is generated.  And that field replacement (merge) process seems to turn the filtering on in the table headers, regardless of my efforts to stop it (used sheet protection to allow only insertion of rows, but filtering was still turned on).  At that point, Flow produces an error and says that "Tablexx already exists, bad request, etc.". 

     

    Any ideas on how to set up an Excel template with fields (similar to mail merge) and ensure that filtering is NOT turned on when the fields are replaced with actual values?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Would you be able to share the steps you used to do this?

     

    Thanks

  • 55552 Profile Picture
    682 on at

    It has been so long since I tried this that I don't remember the steps offhand.  I will, however, see if my "Flow" still exists, and see if I can do some screenshots.  I do remember that in the end, it only worked part of the time, and the connections to SharePoint and OneDrive had to be refreshed periodically.  Overall, I was not satisfied with how Flow functioned, even before it started having problems with the filtering issue.

  • anton-khrit Profile Picture
    197 on at

    You can use Parse CSV action from Plumsail Documents connector. It allows you to convert CSV into an array and variables for each column. Please read this article demonstrating how it works.

     

    Once you parsed the CSV you can iterate through result array and inserd data into your SharePoint lists.

  • 55552 Profile Picture
    682 on at

    Thanks, years later, Flow has improved, and now allows extracting from Excel tables within SharePoint to SharePoint lists.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 589

#3
Haque Profile Picture

Haque 522

Last 30 days Overall leaderboard