Skip to main content

Notifications

Power Automate - General Discussion

Automation to up date Sharepoint List from an Excel documents

(1) ShareShare
ReportReport
Posted on by
Hello all,
 
I am new to Power Automate and am trying to figure out how to update an MS Sharepoint List from an Excel Document using a flow. Both are located on the same environment. I have been attempting to use some templates I found on the web, but still my flow is failing. It seems that the information being pulled from the excel document isn't in the correct format, and I have tried to convert the information to a string. The excel document contains dates for various completion dates for employees. Thanks in advance for the help!
Categories:
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Automation to up date Sharepoint List from an Excel documents

    You have a couple of options. One of them is to create a new SharePoint list directly from your Excel file. This can help you ensure that the data types and structure are consistent with what you need in SharePoint. Here's how you can do it:

     
    • Ensure that your Excel file is formatted as a table. This means each column has a header, and there are no empty rows or columns in your data range.
    • Click on the New button and select List.
    • Choose the option From Excel.
    • Upload your Excel file or select it from OneDrive or SharePoint.
    • SharePoint will try to map your Excel columns to list columns. Review these mappings and adjust as necessary, especially for date fields, to ensure they are recognized correctly.
    • Click Create to generate the list.

    If you already have a SharePoint list and just need to update it with data from an Excel file, you can use Power Automate. Here's a brief outline:

    • Add the "List rows present in a table" action to read the data from your Excel file.
    • Use the "Apply to each" action to iterate through each row in your Excel table.
    • Inside the loop, use the "Update item" action to update the corresponding item in your SharePoint list. You can map the columns from the Excel file to the appropriate fields in your SharePoint list.
    • If the Excel data includes date fields, ensure the dates are in a recognizable format, such as ISO 8601 (YYYY-MM-DD), to avoid issues.
    Hope that 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard