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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cross reference an exc...
Power Automate
Unanswered

Cross reference an excel sheet with list

(0) ShareShare
ReportReport
Posted on by 35

Hi all, apologies as I am quite new to power automate, but any help would be appreciated!

 

I have a sharepoint list which contains staff details needed for a project, this includes their name, employee number and current place of work, etc.  My data colleague has provided me with an Excel sheet with details of the recent joiners and leavers, and it includes columns for name, employee number, left/joined, date of leaving/joining. 

 

There are thousands of staff on both the sheet/list.  Is there a way I can use connectors to create an instant flow which will cross reference the employee number in the excel sheet to the microsoft list with the, and where staff have left - delete the list row.  And another flow, where if there is no matching employee number - add to the list with their name, employee number and location.  

 

Hope that makes sense, thanks in advance 

 

Chrissie

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    CU08101058-0 Profile Picture
    35 on at

    False alarm, I've got it all working now, slowly figuring it out as I go 🤣🤠

  • MB35 Profile Picture
    91 on at

    Hi, I'm trying to do a very similar task currently. Would you mind sharing how you created your flow please?

    Thanks

     

  • CU08101058-0 Profile Picture
    35 on at

    I'm away from my computer now but I'll upload some pics of the flow later for you 👍

  • CU08101058-0 Profile Picture
    35 on at

    I used a simple flow.  I had a new excel sheet with a column for 'Joined' or 'Leaver'

     

    'List rows present in a table' is connected to the new excel database with an ODATA filter query which filters for the status: JOIN_LEAVE_CAV_FLAG eq 'Joined'

    'Get items' is connected to the existing sharepoint list with a ODATA filter query filtering only those with a matching employee number: field_2 eq '@{items('Apply_to_each')?['STAFFNUMBER']}'

    'Update items' updates the existing sharepoint list with the new information changing their status to joined

    'Update a row' writes back to the new excel database that the person has been added to sharepoint - I decided not to immediately delete the entry before being sure that the flow did works correctly.

     

    I then just edited the flow to do the same for those tagged as 'Leavers' 

     

    I'm rubbish at explaining things, but heres some screenshots, hope that helps!

     

    chrisisconfused_1-1719823892287.png

    chrisisconfused_2-1719823910432.png

    chrisisconfused_3-1719823924993.png

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard