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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to find the Missin...
Power Automate
Unanswered

How to find the Missing Value from Excel when compared with Sharepoint List

(0) ShareShare
ReportReport
Posted on by 5

Hi,

 

I have an Excel sheet and 2 Sharepoint list named as A & B with same columns. From A Sharepoint list, I copy the items to Excel as well as to Sharepoint List B at same time. But sometimes the items in Sharepoint B list are greater than items in Excel. 

 

Could someone please help me out how to find the missing value in Excel when compared to Sharepoint list using flows on large data sets.

 

Thanks,

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @nitsharma 

     

    You can create a flow which checks for all the items that exist in SharePoint list but not in excel.

     

    Flow Details 

    Trigger -> Manual Trigger

    Action -

    1. Get all items from SP List

    2. Get all items from Excel

    3. Initialize a variable of type array.

    4. Apply to Each loop on SP list

    5) Inside Apply to Each loop, add a filter array action of Excel sheet and map columns between SP and Excel.

    6) Add a condition on length returned from the filter array action. If the length is one, that means the record exists in both. If the length is 0, that means item exist in SP list and not excel. 

    Condition: length(FilterArray) = 0

    If true: Append the item to Initialized array variable

    If false: Do nothing

    7) You can print out the array in the end or create new items if needed. This will be the resultant array of all the missing items

     

     

    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!

     

     

  • nitsharma Profile Picture
    5 on at

    Thanks @yashag2255 for the solution.

     

    I tried the same steps but its taking an ample of time to finish the flow, as I have 5k+ item in both Sharepoint List and Excel. Isn't there any query we can write in Get Items filter query and get the output.

     

    Thanks,

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

    Hi @nitsharma 

     

    Yes, the reason it is taking more time is because of the number of records. I thought you wanted to compare all the records for missing items but in case you want to apply a query, you can add Filter Query in the Get Items action.

     

    You can take a look at this link for the formats of Filter Query: https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-a-functional-consultant/

     

     

    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!

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard