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 / How to upload new data...
Power Automate
Answered

How to upload new data from excel to existing list through power automate

(1) ShareShare
ReportReport
Posted on by

Hi , How can I upload existing data to Sharepoint list. Each week I get a excel file with some update. So I want to compare Sharepoint list with existing data once excel sheet add to document library . Then add the updated records and new data to Sharepoint list only. If no data got changed Keep the data as it is in the list. Thanks

Categories:
  • Bhanu2023 Profile Picture
    on at

    @trice602 - any suggestions? 

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @Bhanu2023 ,

     

    How many columns are in the list out of curiosity?

     

     

  • Bhanu2023 Profile Picture
    on at

    @trice602 - Around 12 columns 

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Ok, let me see what I can come up with tonight.

  • Verified answer
    trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @Bhanu2023 ,

     

    This was a little finicky putting together but it works in testing.  That said, in my Get Items during building, I hard code a test file and then when done building, I use Full Path and custom item Table1 so it is dynamic.

     

    trice602_0-1694502274465.png

     

    Here's my List:

     

    trice602_1-1694502312221.png

     

    trice602_2-1694502383405.png

     

    Note comment above.  When building this, I use a test file and hard code, when done building, I change to Full Path and custom item Table1 like below.

     

    trice602_3-1694502440785.png

     

    The two apply to each action are in a parallel action.  The left side adds new items, the right side updates items.

     

    trice602_4-1694502645463.png

     

     

    So on new side (above), if Title = Excel sheet Title and we expect this to be blank for new items, we will create an item in the List.  See the condition below.

     

    You need to type in the expression for the condition:  

     

    length(outputs('Get_items')?['body/value'])

     

    trice602_5-1694502748688.png

     

    And then we create the item referring to the Excel data.

     

    trice602_6-1694502857537.png

     

     

    Now for the update item side....

     

    On the update item side, we compare the Title column (or any column you want to pick) and then we see if any of the other columns are not equal with am OData filter query in Get Items.

     

    trice602_7-1694502995294.png

     

     

    We use the same condition for the update item side, referring to this Get items_3

     

    trice602_8-1694503072652.png

     

     

    And if the row doesn't match to List item, we update it on the Yes side here.

     

    trice602_9-1694503192391.png

     

    In my tests, the yellow item was a new row in Excel, the green was an update to an existing item.

     

    trice602_10-1694503275038.png

     

     

     

     

     

  • Verified answer
    trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @Bhanu2023 ,

     

    The full flow zoomed out.  Again, left side parallel action is add item, right side parallel action is check if you need to update item or skip it.  Worked with new items, update items, and skip items.

     

    trice602_12-1694503550185.png

     

     

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @Bhanu2023 ,

     

    Please try this out and mark as a solution.  Works in testing and was a good exercise.  I will implement too.

     

     

  • Bhanu2023 Profile Picture
    on at

    @trice602 - I have accepted the solution. Thanks again for helping me and teaching me different stuff . It help me different approach to take for different issue. 

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